add active field to client equipment
This commit is contained in:
parent
f864093eb8
commit
61529d33e4
1 changed files with 2 additions and 0 deletions
|
|
@ -38,6 +38,8 @@ class Equipment(models.Model):
|
||||||
string='Interventions'
|
string='Interventions'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
active = fields.Boolean(default=True)
|
||||||
|
|
||||||
@api.depends('partner_location_id')
|
@api.depends('partner_location_id')
|
||||||
def _compute_partner(self):
|
def _compute_partner(self):
|
||||||
for rec in self:
|
for rec in self:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue