f92b925a5c8c04ed67e6e902ace01b8bbe5312d1
This commit fixes the check that verifies that the article always has a member with write access on the article. Indeed, the current code was using a database request to check for members with write access in a "api.constrains" check, where the data being updated is not flushed into database yet. It now correctly uses fields access directly, as stated by the method docstring. For convenience, we extracted the "_has_writer_member" method to be re-usable. An additional test case has been added to enforce the behavior. Task-2859616 X-original-commit: odoo/odoo@ccdfb791f8 Part-of: odoo/odoo#95471
…
…
…
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%