Update re_unit.py
This commit is contained in:
parent
a101fed6fd
commit
271ba5124f
|
|
@ -15,8 +15,12 @@ class Unit(models.Model):
|
|||
_description = 'Property Unit'
|
||||
_inherit = ['mail.thread', 'mail.activity.mixin']
|
||||
_order = "id desc"
|
||||
|
||||
|
||||
|
||||
unit_category = fields.Selection([
|
||||
('residential', 'Residential'),
|
||||
('commercial', 'Commercial'),
|
||||
('lands', 'Lands') ], string="Unit Category")
|
||||
attach_nbr = fields.Integer(compute='get_attachments')
|
||||
active = fields.Boolean(default=True)
|
||||
unlock = fields.Boolean(default=True, string="Unlock")
|
||||
|
|
|
|||
Loading…
Reference in New Issue