From 5d1f704c6fd92b203f88a34f0db559f77e0453c4 Mon Sep 17 00:00:00 2001 From: Borruso Date: Wed, 29 May 2024 10:37:53 +0200 Subject: [PATCH] [UPD] fiscal_epos_print: aggiornata PR https://github.com/OCA/l10n-italy/pull/3060 --- fiscal_epos_print/static/src/js/models.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fiscal_epos_print/static/src/js/models.js b/fiscal_epos_print/static/src/js/models.js index 5f8b77066a7a..fe22148d2f70 100644 --- a/fiscal_epos_print/static/src/js/models.js +++ b/fiscal_epos_print/static/src/js/models.js @@ -201,7 +201,7 @@ odoo.define("fiscal_epos_print.models", function (require) { receipt.full_price = this.price; } else { // This strategy was used because JavaScript's Math.round rounds to the nearest integer - const dec_precision = this.pos.currency.decimals; + const dec_precision = this.pos.currency.decimal_places; const full_price = Number( ( this.price *