Files
intrastat-extrastat/intrastat_base/models/account_fiscal_position.py
2021-10-23 20:23:45 +02:00

16 lines
507 B
Python

# Copyright 2020 Akretion France (http://www.akretion.com/)
# @author: <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class AccountFiscalPosition(models.Model):
_inherit = "account.fiscal.position"
intrastat = fields.Boolean(
string="Intrastat",
help="Set to True if the invoices with this fiscal position should "
"be taken into account for the generation of the intrastat reports.",
)