e4862f26f44657d901ea922653984d2c54819f75
The goal of this commit is to restore the behaviour of the legacy attach_document widget. How to reproduce : - clicking on the attach_document button and selecting a file In legacy: We have a full reload of the view (Render and reload the record). Before this commit: Render the view without reloading the record. After this commit: We reload the model which causes a rendering of the view and a reload of the record. Why do we have to reload the record ? If the action linked to the attach_document button modifies the record, we want this modification to be applied in the view and not only on the server side. To do this, we need to reload the record data to ensure that all the changes are displayed in the view. closes odoo/odoo#103891 X-original-commit: 82d4f0cd2f0265393cf66cd7be1a0a714584400c Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com> Signed-off-by: Georis François (fge) <fge@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%