a7618b96ec08db8f2ca4c22050ec14cece655e8d
Bug === If we open a view in readonly mode, click on a radio widget and if a constraint exists on this field, an error message is raised. (e.g. the enroll field in "website_slides_sale"). Technical ========= This is because in the "Basic controller", in the "_onFieldChanged", we force "force_save" if the view is in readonly mode. This is wanted for widgets that can change the value even in readonly mode (e.g. Priority), but clicking on a Radio widget switch the mode to edit, so this is not needed. To fix that, we call `setValue` after switching to the edit mode. So the `setValue` is skipped in `_onInputClick` if we are in readonly mode, and the `setValue` is done in `_quickEdit` instead. Task-2668763 closes odoo/odoo#78684 X-original-commit: ff1329ca86691dd5f042158de6913c4aa2c69b6c Signed-off-by: Thibault Delavallee (tde) <tde@openerp.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%