Skip to content

Syncing from upstream OCA/agreement (19.0)#109

Merged
bt-admin merged 37 commits into
brain-tec:19.0from
OCA:19.0
Mar 28, 2026
Merged

Syncing from upstream OCA/agreement (19.0)#109
bt-admin merged 37 commits into
brain-tec:19.0from
OCA:19.0

Conversation

@bt-admin
Copy link
Copy Markdown

bt_gitbot

ygol and others added 30 commits January 15, 2026 14:59
we move the is_template field definition and the agreement.type model from
the agreement_legal module to the agreement module.

The fields are not displayed by default, unless the feature is enabled through a
technical feature group, this is configurable in the agreement_sale module (because agreement
in itself has no UI, and agreement_legal enables the feature by default)
- The `agreement` model now features mail and activities from its base module.
- The `agreement_legal` module doesn't need to add mail support now.
- Add activities to form views.

@Tecnativa TT22477
Update agreement and agreement_sale to restore the behavior of v10
Co-authored-by: Denis Roussel (ACSONE) <rousseldenis@users.noreply.github.com>
Currently translated at 100.0% (64 of 64 strings)

Translation: agreement-17.0/agreement-17.0-agreement
Translate-URL: https://translation.odoo-community.org/projects/agreement-17-0/agreement-17-0-agreement/it/
Currently translated at 100.0% (72 of 72 strings)

Translation: agreement-18.0/agreement-18.0-agreement
Translate-URL: https://translation.odoo-community.org/projects/agreement-18-0/agreement-18-0-agreement/it/
By shifting the constraint to the commercial entity, computed from the partner
field, we can now select hierarchy contacts.

This is useful to:

A) Register the contact person of the agreement
B) Support modules like `partner_affiliate`, in case of nested businesses
Currently translated at 100.0% (72 of 72 strings)

Translation: agreement-18.0/agreement-18.0-agreement
Translate-URL: https://translation.odoo-community.org/projects/agreement-18-0/agreement-18-0-agreement/de/
Currently translated at 100.0% (72 of 72 strings)

Translation: agreement-18.0/agreement-18.0-agreement
Translate-URL: https://translation.odoo-community.org/projects/agreement-18-0/agreement-18-0-agreement/fr/
Currently translated at 100.0% (72 of 72 strings)

Translation: agreement-18.0/agreement-18.0-agreement
Translate-URL: https://translation.odoo-community.org/projects/agreement-18-0/agreement-18-0-agreement/sv/
mymage and others added 7 commits March 27, 2026 16:11
Currently translated at 100.0% (74 of 74 strings)

Translation: agreement-18.0/agreement-18.0-agreement
Translate-URL: https://translation.odoo-community.org/projects/agreement-18-0/agreement-18-0-agreement/it/
Currently translated at 100.0% (74 of 74 strings)

Translation: agreement-18.0/agreement-18.0-agreement
Translate-URL: https://translation.odoo-community.org/projects/agreement-18-0/agreement-18-0-agreement/sv/
Currently translated at 100.0% (73 of 73 strings)

Translation: agreement-18.0/agreement-18.0-agreement
Translate-URL: https://translation.odoo-community.org/projects/agreement-18-0/agreement-18-0-agreement/it/
Signed-off-by rousseldenis
@bt-admin bt-admin added the 19.0 label Mar 28, 2026
@bt-admin bt-admin merged commit d1d3880 into brain-tec:19.0 Mar 28, 2026
4 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 28, 2026

Codecov Report

❌ Patch coverage is 90.62500% with 9 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (19.0@d805e5c). Learn more about missing BASE report.

Files with missing lines Patch % Lines
agreement/models/res_partner.py 47.05% 9 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             19.0     #109   +/-   ##
=======================================
  Coverage        ?   90.62%           
=======================================
  Files           ?        7           
  Lines           ?       96           
  Branches        ?        6           
=======================================
  Hits            ?       87           
  Misses          ?        9           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

bt-admin pushed a commit that referenced this pull request Apr 1, 2026
Signed-off-by pedrobaeza
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.