Merge PR #142 into 13.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2021-10-20 18:26:45 +00:00
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>