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

Commits on Oct 29, 2024

  1. [FIX] sale_tier_validation: Basic compatibility with sale_loyalty

    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 committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    6678bef View commit details
    Browse the repository at this point in the history