From 4796458899b8bedcbcf66b82199e446ae86ca38e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Tue, 28 Oct 2025 14:28:03 +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/models/property_management_list.py | 1 + .../views/property_management_list_views.xml | 1 + .../models/inherit_yuthon_property.py | 10 ++++++++-- .../wizard/property_rental_wizard.py | 8 ++++++++ 4 files changed, 18 insertions(+), 2 deletions(-) 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 @@ +