mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
[IMP] intrastat_product: Add active field to transactions.
TT30682
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user