5e94c70541b9595043bd6a24db62703309287965
Create a coupon program with: - Minimum purchase in currency (ex 100$ tax excluded) - Fixed discount applied on order (ex 100$) Generate some coupon. Go to shop. Fill an order with amount slightly above the minimum required by the coupon (ex. 125$). Apply the coupon. Nothing occur to the cart: the coupon is applied correctly, but when the cart is refreshed it will check for any non-applicable promotion against the current order state (125$ - 100$ = 25$, since the coupon check is for orders above 100$ the promotion will be removed). Fixing the condition in '_get_no_effect_on_threshold_lines' to detect also coupon lines in order to make the fair computation. opw-2224169 closes odoo/odoo#50694 X-original-commit: 2f733ba85320dd67c6892f6a56e3680a3b2fbb50 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%