-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[18.0][MIG] agreement: Migration to 18.0 #50
Conversation
/ocabot migration agreement |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG
This PR has the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG, pre-commit commit to clean up (there was a file added to it, then removed in migration commit) + the translation function calls (but not blocking on this).
@@ -51,8 +51,8 @@ class Agreement(models.Model): | |||
@api.model | |||
def _domain_selection(self): | |||
return [ | |||
("sale", _("Sale")), | |||
("purchase", _("Purchase")), | |||
("sale", self.env._("Sale")), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it pre-commit
updating such statements? Or should it be part of the migration commit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be part of migration commit. I will fix it
agreement/views/agreement.xml.orig
Outdated
@@ -0,0 +1,135 @@ | |||
<?xml version="1.0" encoding="utf-8" ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file should be removed (local copy?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will removed it
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
…ad of onchange field
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% (66 of 66 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% (66 of 66 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/
8822b10
to
8d0ee19
Compare
8d0ee19
to
933cea7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @LucasTran380381 , LG
/ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 4d3a85c. Thanks a lot for contributing to OCA. ❤️ |
No description provided.