Add new module product_harmonized_system_delivery (hide native hs_code field)

Finalize port to v11
This commit is contained in:
Alexis de Lattre
2018-12-06 19:34:56 +01:00
parent f23dca9ff7
commit cb33d00806
4 changed files with 32 additions and 17 deletions

View File

@@ -12,3 +12,13 @@ class AccountTax(models.Model):
help="If this tax is present on an invoice line, this invoice "
"line will be skipped when generating Intrastat Product or "
"Service lines from invoices.")
class AccountTaxTemplate(models.Model):
_inherit = "account.tax.template"
exclude_from_intrastat_if_present = fields.Boolean(
string='Exclude invoice line from intrastat if this tax is present',
help="If this tax is present on an invoice line, this invoice "
"line will be skipped when generating Intrastat Product or "
"Service lines from invoices.")