diff --git a/yuthon_property/models/property_management_list.py b/yuthon_property/models/property_management_list.py index 9fdf73724..1165284d2 100644 --- a/yuthon_property/models/property_management_list.py +++ b/yuthon_property/models/property_management_list.py @@ -16,6 +16,7 @@ class PropertyManagementList(models.Model): area = fields.Float(string='面积') remarks = fields.Text(string='备注') is_push = fields.Boolean(string='是否推送') + type = fields.Selection([('management', '物业管理费') , ('guanzijian', '管子间管理费'), ('lightbox', '灯箱管理费')], string='类型') @api.depends('property_ids') def _compute_admin_id(self): diff --git a/yuthon_property/views/property_management_list_views.xml b/yuthon_property/views/property_management_list_views.xml index 12c1ad417..0631f1219 100644 --- a/yuthon_property/views/property_management_list_views.xml +++ b/yuthon_property/views/property_management_list_views.xml @@ -11,6 +11,7 @@ +