[FIX] l10n_eu_service: generate the description (Code) for account taxes.
This commit is contained in:
parent
60a8f894f9
commit
02d07ef060
|
@ -150,7 +150,8 @@ class l10n_eu_service(models.TransientModel):
|
||||||
'tax_code_id': tx_code.id,
|
'tax_code_id': tx_code.id,
|
||||||
'ref_tax_code_id': tx_code.id,
|
'ref_tax_code_id': tx_code.id,
|
||||||
'ref_base_sign': -1,
|
'ref_base_sign': -1,
|
||||||
'ref_tax_sign': -1
|
'ref_tax_sign': -1,
|
||||||
|
'description': "EU-VAT-%s-S" % country.code
|
||||||
}
|
}
|
||||||
tax = account_tax.create(data_tax)
|
tax = account_tax.create(data_tax)
|
||||||
if self.fiscal_position_id:
|
if self.fiscal_position_id:
|
||||||
|
|
Loading…
Reference in New Issue