Victor Feyens 5468b9bf98 [IMP] sale_coupon: avoid unnecessary filtering of coupon programs
Instead of summing the programs filtered by "current_order" and
"next_order" usage, use all the programs directly.

We can safely assume that the promo_applicability is always set, and if
not, the code later should still behave correctly considering it wasn't
verified in the other methods.

This allows us to avoid two "useless" walkthrough on the coupons applied
on the current sale order.

X-original-commit: cc74ad0108e47654f4a795556f03841319909c67
2020-10-19 14:49:13 +00:00
2020-10-05 09:36:34 +00:00
2020-10-19 07:03:01 +00:00
2020-04-20 11:41:39 +00:00
…
…
…
…
2019-11-08 11:24:04 +00:00
2020-09-28 14:07:25 +00:00

Build Status Tech Doc Help Nightly Builds

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

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%