Skip to content
Snippets Groups Projects
Commit 2b221edb authored by Katherine Zaoral's avatar Katherine Zaoral Committed by fw-bot
Browse files

[IMP] l10n_latam_invoice_document: remove include recipts


Since we are not using document only in invoice by now we remove the
option to incoude receipts.

closes odoo/odoo#38842

X-original-commit: af0703f9
Signed-off-by: default avatarJosse Colpaert <jco@openerp.com>
parent bdc8e948
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ class AccountMove(models.Model):
remaining.l10n_latam_sequence_id = False
def _compute_l10n_latam_amount_and_taxes(self):
recs_invoice = self.filtered(lambda x: x.is_invoice(include_receipts=True))
recs_invoice = self.filtered(lambda x: x.is_invoice())
for invoice in recs_invoice:
tax_lines = invoice.line_ids.filtered('tax_line_id')
included_taxes = invoice.l10n_latam_document_type_id and \
......
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