b6ce915eef4545caecc0fb96cafbea30fa3c7905
To reproduce ============ - on Lunch set a filter and try to save it to favorites an error is raised Problem ======= at this line https://github.com/odoo/odoo/blob/16.0/addons/web/static/src/search/search_model.js#L1771 we are expecting `_getDomain` to return a Domain, but the overrided version on Lunch returns a List, so when we are calling `toString` it's not the one defined in `Domain.js` that will be called but the default one defined by JS, which is not expected in the rest of the process. Solution ======== `_getDomain` return type depends on the boolean `params.raw`, if it's `True` we return a Domain else we return a List. opw-3435524 closes odoo/odoo#132931 X-original-commit: ce21a4bc1057c251d39e44da30dd5ffadf354e4d Signed-off-by: Hubert Van De Walle <huvw@odoo.com> Signed-off-by: Abdelouahab Laaroussi (abla) <abla@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%