268d8b830eec744eb1b366216841243db2da3168
This fixes an issue where access rules are checked on a new record: the rule domains are evaluated with method filtered_domain(), and one rule uses the operator 'child_of', which is implemented with a call to search(). When used with a new record, filtered_domain() returns an empty recordset instead of the record itself. By design, the ORM doesn't check security on new records. A base automation of type 'onchange' will run some server action on a new record. The server action may still check access rights on the model, but should not check access rules. closes odoo/odoo#158309 Signed-off-by: Rémy Voet (ryv) <ryv@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%