summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorJorge Pinna Puissant <jpp@odoo.com>2019-02-11 09:05:08 +0000
committerJorge Pinna Puissant <jpp@odoo.com>2019-02-13 08:24:41 +0000
commitd132870cab65c84b3683336a5753982764c38fb7 (patch)
treeb2edadfdc479ad067e89a5151f3a33153ecffb90 /doc/reference/javascript_reference.rst
parent30961d5616d905c7e6279346c904f9d4cccb3a7d (diff)
[FIX] sale_margin: product margin round error
In a SO without customer: Before this commit, the _product_margin wasn't working. This because, as the customer is not defined, the pricelist isn't defined either, and therefore currency of the pricelist is also undefined. When you call the round function, in an undefined currency an error is raised. Now we take into account if customer is defined. closes odoo/odoo#30675
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions