0df1f4d439ac4274f9b5edee383de0c48e7e0247
Have a form view with an x2many field A displayed as a non editable list view. In A's form view, there's an x2many field B, which isn't in the list. B is itself displayed in the dialog form view as a list, which contains an x2many fields C displayed as many2many_tags. A contains a record. For this record, B contains also a record, which contains two tags for C. Have an onchange on the main record which triggers an update command for the record in A, such that the command also updates the record in B, which deletes (or forgets), i.e. commands 2 or 3, a tag C. Before this commit, if the user opened the x2many record of A after the onchange, it didn't displayed the remaining tag in C. The reason is that we received commands to remove the tag before we actually fetched them (as we don't need them for the list of A). The tags were then fetched when we opened the record in a dialog, but we didn't correctly merge the values read from the server with the commands we received earlier. With this commit, we properly store the commands and apply them after reading the values. Part of task~3179751 Part-of: odoo/odoo#114024
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%