From 2932257070d11f72128f0cf99e037d4031187bfe Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Mon, 10 Mar 2025 14:38:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_property/views/yuthon_property_views.xml | 1 + yuthon_property_approval/models/property_information.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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')