[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: af0703f959357120ec9a8ea674e02faaddfefb85 Signed-off-by: Josse Colpaert <jco@openerp.com>
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user