mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
* Update README.rst: switch to new intrastat project * Move Intrastat menu entry to Accounting > Report instead of Accounting > Report > PDF Reports (because intrastat reports are not in PDF !)
16 lines
550 B
Python
16 lines
550 B
Python
# -*- coding: utf-8 -*-
|
|
# © 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.")
|