Skip to content
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

Merged
merged 24 commits into from
Dec 20, 2024

Conversation

LucasTran380381
Copy link

No description provided.

@rousseldenis
Copy link
Contributor

/ocabot migration agreement

Copy link
Contributor

@rousseldenis rousseldenis left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@ajaniszewska-dev ajaniszewska-dev left a comment

Choose a reason for hiding this comment

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

LG

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Copy link

@sebalix sebalix left a 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")),
Copy link

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?

Copy link
Author

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

@@ -0,0 +1,135 @@
<?xml version="1.0" encoding="utf-8" ?>
Copy link

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?)

Copy link
Author

Choose a reason for hiding this comment

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

I will removed it

@LucasTran380381 LucasTran380381 marked this pull request as draft December 12, 2024 02:24
ygol and others added 17 commits December 12, 2024 09:29
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
ramiadavid and others added 6 commits December 12, 2024 09:29
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/
@LucasTran380381 LucasTran380381 marked this pull request as ready for review December 12, 2024 03:04
Copy link

@sebalix sebalix left a 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

@simahawk
Copy link

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 18.0-ocabot-merge-pr-50-by-simahawk-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 6e55d9a into OCA:18.0 Dec 20, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 4d3a85c. 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.