diff --git a/yuthon_property/views/yuthon_property_views.xml b/yuthon_property/views/yuthon_property_views.xml index 3840fae5d..330b8d066 100644 --- a/yuthon_property/views/yuthon_property_views.xml +++ b/yuthon_property/views/yuthon_property_views.xml @@ -80,6 +80,7 @@ + diff --git a/yuthon_property_approval/models/property_information.py b/yuthon_property_approval/models/property_information.py index 3e0634279..e503cc6f8 100644 --- a/yuthon_property_approval/models/property_information.py +++ b/yuthon_property_approval/models/property_information.py @@ -22,7 +22,7 @@ class PropertyInformation(models.Model): admin_id = fields.Many2one('res.users', string="管理员") precinct = fields.Char(string="片区") address = fields.Text(string="物业地址") - management_type = fields.Char(string="权属类型") + tenure_type = fields.Selection([('self', '自有'), ('agency', '代管')], string='权属类型') property_id = fields.Char(string="物业ID") urgency_level = fields.Selection([('normal', '普件'), ('urgent', '急件'), ('emergency', '特急件')], string='紧急度', default='normal')