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

[16.0][FIX] sale_tier_validation: Basic compatibility with sale_loyalty #3381

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

pedrobaeza
Copy link
Member

If you install sale_loyalty, this piece of code:

https://github.com/odoo/odoo/blob/2a7876538e9ea630563e39ee8402b27147d1e428/addons/sale_loyalty/models/sale_order.py#L740

is always executed when confirming a sales order, so it blocks it, no matter if no coupons are being handled.

This little code avoids this blocking without requiring a glue module, although further work would be needed if some coupons are applied.

@Tecnativa TT51484

If you install sale_loyalty, this piece of code:

https://github.com/odoo/odoo/blob/2a7876538e9ea630563e39ee8402b27147d1e428/addons/sale_loyalty/models/sale_order.py#L740

is always executed when confirming a sales order, so it blocks it, no
matter if no coupons are being handled.

This little code avoids this blocking without requiring a glue module,
although further work would be needed if some coupons are applied.

TT51484
@pedrobaeza pedrobaeza added this to the 16.0 milestone Oct 29, 2024
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.

1 participant