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

[17.0][MIG] sale_loyalty_limit: Migration to 17.0 #235

Open
wants to merge 18 commits into
base: 17.0
Choose a base branch
from

Conversation

arantxa-s73
Copy link
Contributor

@arantxa-s73 arantxa-s73 commented Jan 15, 2025

Module migrated to version 17.0

Depends on:

chienandalu and others added 16 commits January 14, 2025 16:27
We add some compute fields to check the current promotion usage by the
limited users. That allows us to refactor the check method a little bit
as well unifying the logic.

TT30847
Coupons are reset when a sale order is cancelled, but applied programs
remain linked to the cancelled order. As they're cancelled, we should
not count them in the limits.

TT34264
Sometimes Odoo doesn't remove the rules properly until the promotions
are refreshed. This could lead to count mismatches. We wan't to ensure
the count looking at the lines instead.

TT34266
Simplify rule and ensure compatibility with
sale_coupon_multiple_code_program wich allows to use multiple code
programs putting them in the no code promotions many2many field.
Allow coupon_limit settings to be used by other loyalty modules
Currently translated at 100.0% (9 of 9 strings)

Translation: sale-promotion-15.0/sale-promotion-15.0-sale_coupon_limit
Translate-URL: https://translation.odoo-community.org/projects/sale-promotion-15-0/sale-promotion-15-0-sale_coupon_limit/it/
Currently translated at 100.0% (7 of 7 strings)

Translation: sale-promotion-16.0/sale-promotion-16.0-sale_loyalty_limit
Translate-URL: https://translation.odoo-community.org/projects/sale-promotion-16-0/sale-promotion-16-0-sale_loyalty_limit/it/
@arantxa-s73 arantxa-s73 force-pushed the 17.0-mig-sale_loyalty_limit branch 2 times, most recently from 3cd4768 to 7667a96 Compare January 17, 2025 09:49
@arantxa-s73 arantxa-s73 force-pushed the 17.0-mig-sale_loyalty_limit branch from 7667a96 to 2a57326 Compare January 17, 2025 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants