mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
@@ -16,6 +16,7 @@ class AccountMove(models.Model):
|
|||||||
tracking=True,
|
tracking=True,
|
||||||
check_company=True,
|
check_company=True,
|
||||||
help="Intrastat nature of transaction",
|
help="Intrastat nature of transaction",
|
||||||
|
domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]",
|
||||||
)
|
)
|
||||||
intrastat_transport_id = fields.Many2one(
|
intrastat_transport_id = fields.Many2one(
|
||||||
comodel_name="intrastat.transport_mode",
|
comodel_name="intrastat.transport_mode",
|
||||||
|
|||||||
@@ -9,10 +9,7 @@
|
|||||||
expr="//page[@name='other_info']//field[@name='invoice_incoterm_id']"
|
expr="//page[@name='other_info']//field[@name='invoice_incoterm_id']"
|
||||||
position="after"
|
position="after"
|
||||||
>
|
>
|
||||||
<field
|
<field name="intrastat_transaction_id" />
|
||||||
name="intrastat_transaction_id"
|
|
||||||
domain="[('company_id', '=', company_id)]"
|
|
||||||
/>
|
|
||||||
<field name="intrastat" invisible="1" />
|
<field name="intrastat" invisible="1" />
|
||||||
<field
|
<field
|
||||||
name="intrastat_transport_id"
|
name="intrastat_transport_id"
|
||||||
|
|||||||
Reference in New Issue
Block a user