summaryrefslogtreecommitdiff
path: root/addons/sale_coupon/tests/test_program_with_code_operations.py
AgeCommit message (Collapse)Author
2020-12-08[FIX] sale_coupon: avoid double consuming of couponAndrea Grazioso (agr-odoo)
Create a coupon code use it in a quote A cancel the quote A use it in a quote B confirm B go back to quote A set to quotation confirm Result: you used the coupon code twice opw-2410684 closes odoo/odoo#62916 Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
2020-05-08[REF] *_sale_coupon: create coupon moduleJoseph Caburnay
This refactoring extracts parts of `sale_coupon` module to create a more generic module called `coupon`. This new module can be extended in different sales modules to implement functionalities specific to modules that extend it.
2020-01-21[IMP] *: remove 'remove me in master'Victor Feyens
2019-11-05[IMP] sale_coupon: Adapt tests to work with/without demo dataYannick Tivisse
2019-09-20[FIX] *: replace openerp addons import by odooJulien Castiaux
Importing addons using the `openerp` anchor is depreciated by #36597
2019-06-27[FIX] sale_coupon, sale_coupon_delivery: Wrong discount on promotion programGoffin Simon
Let's consider a product P with a unit price = 100€ When a price list PL with a discount of 20% was applied, and a coupon program CP with a discount of 10% was also applied, system still calculated the rate based on unit price of the product and not on the discounted price. So in this example, the amount of the CP discount was 10€ instead of 8€ because the CP discount was computed on the unit price 100€ instead of the discounted price 80€ (with 20% discount of PL) opw:2006829 X-port/Cherry-pick of odoo/enterprise@23739e8a71b3a107246fdae9f7208dfcd852ca09
2019-04-01[MRG] sale_coupon: prepare move to community repoJeremy Kersten