Victor Feyens d7df652b0f [FIX] sale_coupon: perf improvement
_get_applicable_no_code_promo_programs always returns a subset of
_get_applicable_programs ...

We can thus avoid summing the results from the two methods, which
triggered unnecessary operations and resulted in a recordset with
useless duplicates...

Furthermore, as _get_applicable_programs returned recordset is only
used to compare to other recordsets (substraction or comparison),
it doesn't need to be sorted by the model order.  We can thus
safely order the result by id instead, to reduce the query complexity.

X-original-commit: 5d45322cb6abb689dd15566e938fe75318dfdc4d
2020-10-19 14:49:14 +00:00
2020-10-05 09:36:34 +00:00
2020-10-19 07:03:01 +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%