summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2016-02-15 16:31:17 +0100
committerGoffin Simon <sig@odoo.com>2016-02-16 10:37:54 +0100
commit851992cdd6d44611da69ff0ab51b98775b00fb9b (patch)
tree15b3388064d9de59446da861dbb06a5fe9451481 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parentc40070fb0262926193ffe9f062c924a5954d1f60 (diff)
[FIX] product_visible_discount: lst_price
In a SO line, the price unit is taken from function "_product_price" set on the product(model: "product.product"), this is why the variable new_list_price has to be taken on the product too. In this way, the right discount can be computed. Before the fix, new_list_price was equal to the price set on the product template(list_price) then if the product template had several variants with several sale price, the discount was wrongly computed. opw:668636
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions