Files
intrastat-extrastat/intrastat_base/models/account_tax.py
Raphaël Valyi 5f9f95c17d [IMP] *: removed utf-8 headers, changed icon and site
* company model test, country model test as in v8
* png logo instead of svg, removed Python 2 utf-8 headers

[UPD] squashed administrative commits
2020-10-14 10:05:34 +02:00

15 lines
526 B
Python

# © 2011-2016 Akretion (http://www.akretion.com).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, fields
class AccountTax(models.Model):
_inherit = "account.tax"
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.")