d629f90eb57ac59fb5abcb745bbf18758f08abf8
Purpose ======= Avoid a complete reload of the web client when adding a optional product, which loses searches, breadcrumb, etc. This is achieved by adding a non-stored 'is_present' computed field which is computed depending on the presence of a SO line linked to the option line - that way its is dynamically adapted when the option is added to the SO. Since we wanted a clear feedback when the option was added to the quote, green colouring and the disappearance of the 'add to quote' button have been added. Note that this field *cannot* be stored - since the line_id field on the option bypasses the ORM (`set null` for the on_delete attribute), it would not recompute properly upon deletion of the linked SO line. Task#1950410 closes odoo/odoo#34929 Signed-off-by: Damien Bouvy (dbo) <dbo@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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%