[ENH] delivery_carrier_partner_account: add active field to accounts
Fixes #111
This commit is contained in:
parent
01c424c485
commit
15aee61953
1 changed files with 4 additions and 0 deletions
|
|
@ -30,6 +30,10 @@ class DeliveryCarrierAccount(models.Model):
|
||||||
related="delivery_carrier_id.company_id",
|
related="delivery_carrier_id.company_id",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
active = fields.Boolean(
|
||||||
|
default=True,
|
||||||
|
)
|
||||||
|
|
||||||
@api.depends("account_number")
|
@api.depends("account_number")
|
||||||
def _compute_display_name(self):
|
def _compute_display_name(self):
|
||||||
for record in self:
|
for record in self:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue