825fa5b9f08b83c4b851798f6fa89f791cd3d522
Problem: Have - a slow network - a kanban view grouped then move a given record from a column to another twice quickly. An error occurs. This is due to the way the transaction system in kanban model works: the first move done in the first transaction being not yet finished, no other transaction can begin and an error is thrown. Solution: Subclass Error and catch the specific transaction error at the appropriate time to cancel the second order. Note that the problem does not occur in a not grouped kanban view because the hook useSortable prevent asking again a resequencing via a proper management of the class o_record_draggable. That class is also used in the grouped case but a rendering of the kanban view takes place possibly before the end of the transaction: the record is moved in any case to the targeted column and moved back if the overall operation fails for some reason. closes odoo/odoo#95235 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%