Skip to content
Snippets Groups Projects
Commit 1940796d authored by Carlos Lopez's avatar Carlos Lopez
Browse files

[FIX] l10n_latam_invoice_document: value by default in compute one2many field should not be []


closes odoo/odoo#39218

Signed-off-by: default avatarJosse Colpaert <jco@openerp.com>
parent 0ff08112
No related branches found
No related tags found
No related merge requests found
......@@ -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"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment