5e754ffd4d19ca735089261b3318029f1e2c49ab
When a field in readonly view can be modified, it should write to the backend immediately. (No changes are stored to be comited later) For some reason, a bit of code was preventing this if the field was required and had a falsy value. Furthermore, the code seemed incorrect or at least misplaced. Removing these lines didn't affect the test. The fix simply remove this extra check. There was a condition in the update code for required field in readonly views that prevented the correct flow to be executed. Since no test are broken removing this check but it fixes the problem, it is removed. closes odoo/odoo#98978 Signed-off-by: Aaron Bohy (aab) <aab@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%