12.0 stage

Merged Gastón Bertolani requested to merge 12.0-stage into 12.0
Compare and
1 file
+ 1
1
Preferences
File browser
Compare changes
+ 1
1
@@ -366,7 +366,7 @@ class WsCaeaCode(models.Model):
total_otros_tributos = 0
env_tax_caea = self.env['ws.tax.caea']
if not codigomtx:
for t in invoice.tax_line_ids:
for t in invoice.tax_line_ids.filtered(lambda x: x.tax_id.tax_group == 'vat'):
code = env_tax_caea.get_cod(t.tax_id)
if code:
list_tributos.append({