We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db63755 commit 6a03030Copy full SHA for 6a03030
1 file changed
l10n_uy_reports/wizards/form_report_wiz.py
@@ -85,9 +85,9 @@ def _get_form_2181_data(self):
85
UYU_currency = self.env.ref('base.UYU')
86
87
line_code = {}
88
- taxes = invoices.mapped('line_ids.tax_ids').filtered(lambda x: x.l10n_uy_dgi_code.form == "2181")
+ taxes = invoices.mapped('line_ids.tax_ids').filtered(lambda x: x.tax_group_id.form == "2181")
89
for tax in taxes:
90
- line_code.update({tax: tax.l10n_uy_dgi_code.code})
+ line_code.update({tax: tax.tax_group_id.l10n_uy_code})
91
92
tax_code = {}
93
taxes_group_ids = taxes.mapped('tax_group_id').ids
0 commit comments