summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/bootstrap-datetimepicker/src/less/bootstrap-datetimepicker.less
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2017-06-06 10:16:30 +0200
committerDenis Ledoux <dle@odoo.com>2017-06-06 10:18:33 +0200
commitfef669444215501b6f2130a690978f9c457d1466 (patch)
tree7184c90f83e13f5aae6346a85df8e2cd40e30c54 /addons/web/static/lib/bootstrap-datetimepicker/src/less/bootstrap-datetimepicker.less
parentc3e282852d816822c35d60d31c9b329d220029f2 (diff)
[FIX] product_margin: division by zero in case sum of quantities is 0
If you have two invoices with a same product, - one having 1 unit of a product, - the other -1 unit of a product, The sum of these quantities will be 0, and it will lead to a division by zero in the former sql request. The nullif should be applied on the sum, not on the line quantity. opw-745073
Diffstat (limited to 'addons/web/static/lib/bootstrap-datetimepicker/src/less/bootstrap-datetimepicker.less')
0 files changed, 0 insertions, 0 deletions