summaryrefslogtreecommitdiff
path: root/addons/purchase/data
diff options
context:
space:
mode:
authorAchraf (abz) <abz@odoo.com>2021-04-22 10:41:45 +0000
committerAchraf (abz) <abz@odoo.com>2021-04-26 10:51:06 +0000
commit25312bc576b9e0330eb316e77d8a177ee0434832 (patch)
tree28485f5b99a1ef139692191d7a1e7449ce7ccbe2 /addons/purchase/data
parent94849f6545e96d0823bd29cef7fa111b82ed3b28 (diff)
[FIX] purchase_product_matrix: Allow to change PO lines order
What are the steps to reproduce your issue ? 1. Install 'purchase_product_matrix' 2. try to edit a PO with more than one line 3. try to change the order of a product line What is currently happening ? Traceback: TypeError: Cannot read property 'data' of undefined What are you expecting to happen ? Change order lines without traceback Why is this happening ? There is a function 'reset' that checkes if 'ev' exists: https://github.com/odoo/odoo/blob/e0af10ccc92cb3b07f0eea6fa44ebf5a1bdc86aa/addons/sale/static/src/js/product_configurator_widget.js#L119 And in 'purchase_product_matrix' there is a override of this same function that calls it and then tries to use an 'ev' attribute without checking it before How to fix the bug ? Check 'ev' before accessing it opw-2513061 closes odoo/odoo#69666 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/purchase/data')
0 files changed, 0 insertions, 0 deletions