summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorCarlos Lopez <celm1990@hotmail.com>2020-01-21 12:27:07 +0000
committerCarlos Lopez <celm1990@hotmail.com>2020-01-27 09:06:02 +0000
commitf9e5f58b7d6f542442452b1e811066a446ede4b3 (patch)
treed3477b9cd8853f2ed57648a93a5ea2218c05ffbf /addons
parent9ce78bff5fb084de67034bf54a814d1f30ffda46 (diff)
[FIX] l10n_latam_invoice_document: value by default in compute one2many field should not be []
closes odoo/odoo#43983 X-original-commit: 1940796daf5302c889dc14e187d178541120554e Signed-off-by: Josse Colpaert <jco@openerp.com>
Diffstat (limited to 'addons')
-rw-r--r--addons/l10n_latam_invoice_document/models/account_move.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/l10n_latam_invoice_document/models/account_move.py b/addons/l10n_latam_invoice_document/models/account_move.py
index f128e62035c..218f864fa05 100644
--- a/addons/l10n_latam_invoice_document/models/account_move.py
+++ b/addons/l10n_latam_invoice_document/models/account_move.py
@@ -80,7 +80,7 @@ class AccountMove(models.Model):
invoice.l10n_latam_tax_ids = not_included_invoice_taxes
remaining = self - recs_invoice
remaining.l10n_latam_amount_untaxed = False
- remaining.l10n_latam_tax_ids = []
+ remaining.l10n_latam_tax_ids = [(5, 0)]
def _compute_invoice_sequence_number_next(self):
""" If journal use documents disable the next number header"""