summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/lib/summernote/src/js/EventHandler.js
diff options
context:
space:
mode:
authorJosse Colpaert <jco@odoo.com>2018-10-16 15:06:13 +0200
committerGoffin Simon <sig@odoo.com>2018-11-08 13:10:10 +0100
commit0b586677e23a4460d781b45355562b7ca29d3f11 (patch)
tree53e889326f5e752623f53741a4bd549416430962 /addons/web_editor/static/lib/summernote/src/js/EventHandler.js
parent9b16af6a4bdd1d44a4624bfaab9ff54aba4ff44e (diff)
[FIX] sale_margin: Error in Margin calculation
If cost(purchase_price) was 0, margin calculation was incorrect. The function _product_margin didn't consider the use case where the cost of the product was set to 0 on the line. So before the fix it fallback on standard price instead of considering a cost of 0. opw:1890452, 1885587
Diffstat (limited to 'addons/web_editor/static/lib/summernote/src/js/EventHandler.js')
0 files changed, 0 insertions, 0 deletions