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

[15.0][MIG] sale_coupon_multi_gift: Migration to 15.0 #98

Merged
merged 7 commits into from
Feb 22, 2023

Conversation

chienandalu
Copy link
Member

@chienandalu chienandalu commented Jan 18, 2023

@pedrobaeza
Copy link
Member

This must be renamed to coupon_multi_gift, isn't it?

@chienandalu
Copy link
Member Author

It depends on sale_coupon as well

Copy link
Member

@victoralmau victoralmau 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 OK

@pedrobaeza
Copy link
Member

But should we split it to separate the multi_gift definition from the sales part?

chienandalu and others added 6 commits February 1, 2023 13:23
Now we use the product field in the multi gift line as a mask for a
many2many field that can be used by a third module as a way to offer
optional gifts to the user.

TT30850
When we've got mixed optional rewards
we need to tell for sure which reward
line belongs a sale line to so we can
apply the right product when the reward
is updated.

TT34266
@chienandalu chienandalu force-pushed the 15.0-mig-sale_coupon_multi_gift branch from b976dea to cc662c8 Compare February 1, 2023 13:07
@chienandalu
Copy link
Member Author

But should we split it to separate the multi_gift definition from the sales part?

Done

Copy link
Contributor

@CarlosRoca13 CarlosRoca13 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

@pedrobaeza
Copy link
Member

/ocabot migration sale_coupon_multi_gift

@OCA-git-bot OCA-git-bot added this to the 15.0 milestone Feb 16, 2023
@OCA-git-bot OCA-git-bot mentioned this pull request Feb 16, 2023
21 tasks
sale_coupon_multi_gift/models/coupon_reward.py Outdated Show resolved Hide resolved
coupon_multi_gift/README.rst Outdated Show resolved Hide resolved
coupon_multi_gift/README.rst Outdated Show resolved Hide resolved
@chienandalu chienandalu force-pushed the 15.0-mig-sale_coupon_multi_gift branch from cc662c8 to a15546f Compare February 17, 2023 10:06
@chienandalu
Copy link
Member Author

Changes done

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 15.0-ocabot-merge-pr-98-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 0a58854 into OCA:15.0 Feb 22, 2023
@OCA-git-bot
Copy link
Contributor

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

pilarvargas-tecnativa pushed a commit to Tecnativa/sale-promotion that referenced this pull request May 30, 2023
Signed-off-by pedrobaeza
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.

None yet

6 participants