b5e8f85eaa315ef59a20a13917542a160b959c13
Reproduction: 1. Install Sale, Inventory 2. Go to Sale->products, search for “Customizable Desk” 3. Hover the cursor on the stat button “Sold”, from its definition, the analysis should show the sold items in last 365 days 4. Click on the “Sold” button, no filter for “Order Date” Reason: in V14, the “time_ranges” feature is removed. Thus using it in the context won’t create any filter for searching Fix: We use a custom filter to replace the time range "last_365_days". We also make sure that the domain produced by that filter is the same as the one used to compute the button count server side (this was not the case in Odoo 13 when "last_365_days" was used). Similar fix is also done in mrp and l10n_ar. Mind the utc convert for correct results. opw-3000595 Related commits: Removal of time_ranges: https://github.com/odoo-dev/odoo/commit/be5a51a345b8986da0e19627260f64f984e11ae9 Date filter fix: https://github.com/odoo/enterprise/pull/10938 closes odoo/odoo#108951 X-original-commit: 03057029b210a59f3d7012aeea66cfa95790a8c8 Signed-off-by: Mathieu Duckerts-Antoine <dam@odoo.com> Signed-off-by: Liu Jinjiu (jili) <jili@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%