summaryrefslogtreecommitdiff
path: root/addons/account/static/src
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-02-20 17:37:22 +0100
committerChristophe Simonis <chs@odoo.com>2019-02-20 17:37:22 +0100
commitdb1c7765cba0692cfc4eda34ead000b048da4dae (patch)
tree34e351e1714858f9b607e216f505b3e4ce453115 /addons/account/static/src
parent7151f98358fc3cab13c1cc7400c5e0b58d662978 (diff)
parent2c495502aa37374f3748d9ff4ab7cf9e8d9a6d6e (diff)
[MERGE] forward port branch saas-11.3 up to 2c495502aa3
Diffstat (limited to 'addons/account/static/src')
-rw-r--r--addons/account/static/src/js/reconciliation/reconciliation_model.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/account/static/src/js/reconciliation/reconciliation_model.js b/addons/account/static/src/js/reconciliation/reconciliation_model.js
index 6b79d07a63a..ede81ea2043 100644
--- a/addons/account/static/src/js/reconciliation/reconciliation_model.js
+++ b/addons/account/static/src/js/reconciliation/reconciliation_model.js
@@ -900,11 +900,11 @@ var StatementModel = BasicModel.extend({
});
var company_currency = session.get_currency(line.st_line.currency_id);
var company_precision = company_currency && company_currency.digits[1] || 2;
- total = utils.round_decimals(total*1000, company_precision)/1000 || 0;
+ total = utils.round_decimals(total, company_precision) || 0;
if(isOtherCurrencyId){
var other_currency = session.get_currency(isOtherCurrencyId);
var other_precision = other_currency && other_currency.digits[1] || 2;
- amount_currency = utils.round_decimals(amount_currency, other_precision)
+ amount_currency = utils.round_decimals(amount_currency, other_precision);
}
line.balance = {
amount: total,