dcbf2119fcc130d25f9d43a04929516e71102df9
The call to web_read_group done in _loadGroups was incorrect when the first groupby was of the form date_field:granularity (e.g. "create_date:day"). The groupby was sent as a mesure and interpreded as such, leading to an error of the form "Invalid aggregation function ...". This was not detected before by lack of manual testing: the mock server used in tests checks the read group parameters in a different way from what is done server side. So the error was not visible in the testing environment. In this commit, we remove the error in web_read_group and improve the mock server (a bit) so as to make such errors be detected. Part-of: odoo/odoo#92475
…
…
…
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%