mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
14 lines
417 B
Python
14 lines
417 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 AccountMove(models.Model):
|
|
_inherit = "account.move"
|
|
|
|
intrastat_fiscal_position = fields.Boolean(
|
|
related="fiscal_position_id.intrastat", store=True,
|
|
string="Intrastat Fiscal Position")
|