[IMP] intrastat_product: Add active field to transactions.

TT30682
This commit is contained in:
Víctor Martínez
2021-09-22 09:40:20 +02:00
parent 02542b8fd1
commit 67ec1a4e36
2 changed files with 2 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ class IntrastatTransaction(models.Model):
string="Company",
default=lambda self: self._default_company_id(),
)
active = fields.Boolean(default=True)
@api.model
def _default_company_id(self):

View File

@@ -17,6 +17,7 @@
<field name="code" />
<field name="description" />
<field name="company_id" groups="base.group_multi_company" />
<field name="active" />
</group>
</form>
</field>