ad5b06d31603a9857fd2e82e7c9c7830349b4481
Currently, a user could create a date filter without selecting a field for a datasource but still select an offset. Notwithstanding the traceback that ensues, this does not make sense from a a functional POV. This commit adds a command check to prevent the creation/update of filters with such payload. How to reproduce: From a sheet with a pivot: - create a date filter - do not set field - set offset to any (non null) value - Save the filter => trackback Task 3002282 closes odoo/odoo#107485 X-original-commit: 0412186a675960a8f4a83398cf95c628203aa3fa Related: odoo/enterprise#34799 Signed-off-by: Pierre Rousseau (pro) <pro@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%