summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml/backend.xml
diff options
context:
space:
mode:
authorJulien Castiaux <juc@odoo.com>2019-05-10 14:26:02 +0000
committerJulien Castiaux <juc@odoo.com>2019-06-14 09:02:09 +0000
commit45bd7a58d5202d6b9387636317eb33efa569f458 (patch)
treeea554f5a13f890015909e1ce5de2760d9aeadf3b /addons/web_editor/static/src/xml/backend.xml
parent187b77d7b9fd7ccbd3d09aeb193fe896de98c161 (diff)
[FIX] website_sale_comparison: concurrent add/delete
1) Add a 1st product to compare from the ecommerce /shop page. 2) Open the compare list pop up at the bottom. 3) Add a 2nd product to compare from the /shop page. 4) Remove the 1st product from the compare list before the rpc of the 2nd product is done. 5) Javascript error `self.product_data[res] is undefined` The function `add_new_products` and `rm_from_comparelist` are concurrent, they both modify the internal `comparelist_product_ids` product list. The first one perform an RPC and delay the update once the request is done, the second does the update immediately. The solution has been to use a mutex to exclude the two functions. opw-1974108 closes odoo/odoo#33302 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/xml/backend.xml')
0 files changed, 0 insertions, 0 deletions