7e86933d94fbbfbaea57742abbbcf6409a39c357
Before this commit, in `getModifier` method when a modifier contains a domain in a string, the domain is not evaluated and just converted into a boolean value that is if the string is not empty then the method will return `true` and `false` otherwise. Also, the `applyInvisible` method does not take into account an invisible domain in a string. That is if the `invisible` variable contains a domain in an `Array` then the domain is evaluated otherwise the domain is considered as a boolean value. This commit checks if the modifier contains a boolean value as value to evaluate it as a boolean and return it otherwise the modifier value is returned in the `getModifier` method. In the `applyInvisible`, this commit allows to evaluate the domain if the domain is containing in a string. Part-of: odoo/odoo#92475 Co-authored-by: Xavier BOL (xbo) <xbo@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%