summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/point_of_sale/static/src/js/models.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/point_of_sale/static/src/js/models.js b/addons/point_of_sale/static/src/js/models.js
index f5e4b079808..51925afd6d7 100644
--- a/addons/point_of_sale/static/src/js/models.js
+++ b/addons/point_of_sale/static/src/js/models.js
@@ -1998,8 +1998,8 @@ exports.Orderline = Backbone.Model.extend({
return {
'taxes': taxes_vals,
- 'total_excluded': sign * round_pr(total_excluded, currency_rounding),
- 'total_included': sign * round_pr(total_included, currency_rounding),
+ 'total_excluded': sign * round_pr(total_excluded, this.pos.currency.rounding),
+ 'total_included': sign * round_pr(total_included, this.pos.currency.rounding),
}
},
get_all_prices: function(){