Skip to content

[19.0][MIG] agreement: Migration to 19.0#99

Merged
OCA-git-bot merged 34 commits intoOCA:19.0from
komit-consulting:19.0-mig-agreement
Mar 27, 2026
Merged

[19.0][MIG] agreement: Migration to 19.0#99
OCA-git-bot merged 34 commits intoOCA:19.0from
komit-consulting:19.0-mig-agreement

Conversation

@Vang-NguyenPhu
Copy link
Copy Markdown

No description provided.

ygol and others added 19 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>
@Vang-NguyenPhu Vang-NguyenPhu force-pushed the 19.0-mig-agreement branch 2 times, most recently from 6540d3e to 6f1b2e5 Compare January 15, 2026 08:43
@Vang-NguyenPhu Vang-NguyenPhu mentioned this pull request Jan 15, 2026
5 tasks
@leemannd
Copy link
Copy Markdown

/ocabot migration agreement

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Jan 15, 2026
@leemannd
Copy link
Copy Markdown

Hello @Vang-NguyenPhu , Is it possible to reduce the commit history by following -> https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-19.0
Also I am expecting to have at least two migration commits:

@Vang-NguyenPhu
Copy link
Copy Markdown
Author

Hello @Vang-NguyenPhu , Is it possible to reduce the commit history by following -> https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-19.0 Also I am expecting to have at least two migration commits:

  • I rebased some Bot's commit.
  • Actually, there is nothing to commit at the first pre-commit

@CRogos
Copy link
Copy Markdown

CRogos commented Jan 21, 2026

Currently agreement and agreement_legal is a little confusing. Especially the Form, which is in agreement_legal not reused.

Maybe we can change agreement a little bit so that the extensions can more easily link in?

  • Add a group "Gernal" and "Term Dates" in module agreement
  • Maybe move some attributes to agreement_legacy when they are hidden by agreement_legal?
image

In agreement_legal there is already a roadmap what should be changed.

We are not yet using agreement but are interested. Currently there is a lot of stuff we don't need and would like to hide (or better not install).

cc: @MohamedOsman7

Copy link
Copy Markdown

@CRogos CRogos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yankinmax
Copy link
Copy Markdown

Hello @OCA/project-service-maintainers can you pls take a look and possibly trigger merge?

mymage and others added 15 commits March 27, 2026 16:11
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/
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/
@Vang-NguyenPhu
Copy link
Copy Markdown
Author

Copy link
Copy Markdown

@hieulucky111 hieulucky111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review and it looks good!

@yankinmax
Copy link
Copy Markdown

Hello @rousseldenis , sorry for pinging you directly, can you pls take a look and possibly trigger merge?

@rousseldenis
Copy link
Copy Markdown
Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 19.0-ocabot-merge-pr-99-by-rousseldenis-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 4b8c88c into OCA:19.0 Mar 27, 2026
7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 63e3618. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.