diff options
| author | Juan Jose Scarafia <jjs@adhoc.com.ar> | 2020-12-03 20:51:55 +0000 |
|---|---|---|
| committer | Juan Jose Scarafia <jjs@adhoc.com.ar> | 2020-12-10 11:23:03 +0000 |
| commit | 448e86590b6c708036c1ec44fe25cf1773eea842 (patch) | |
| tree | fd610c0206949b3258eb7298e28072068431eacc | |
| parent | 5de36feffd0347ff28c8fa35818e7bfc2535df4e (diff) | |
[FIX] l10n_ar: currency rate digits
AFIP currency rates goes up to 6 digits.
When invoicing exportation of services, AFIP requires to invoice on the exactly same rate. Without this change it was not possible for some currencies with 6 digits as CHF one.
The change takes effect without needing of updating module
closes odoo/odoo#63144
X-original-commit: 150493ca3fff8b44cf890205990dbd72cebdcb36
Signed-off-by: Josse Colpaert <jco@openerp.com>
| -rw-r--r-- | addons/l10n_ar/models/account_move.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/l10n_ar/models/account_move.py b/addons/l10n_ar/models/account_move.py index 4928929d63f..32e870c9b5f 100644 --- a/addons/l10n_ar/models/account_move.py +++ b/addons/l10n_ar/models/account_move.py @@ -25,7 +25,7 @@ class AccountMove(models.Model): ' identify the type of responsibilities that a person or a legal entity could have and that impacts in the' ' type of operations and requirements they need.') - l10n_ar_currency_rate = fields.Float(copy=False, digits=(16, 4), readonly=True, string="Currency Rate") + l10n_ar_currency_rate = fields.Float(copy=False, digits=(16, 6), readonly=True, string="Currency Rate") # Mostly used on reports l10n_ar_afip_concept = fields.Selection( |
