From 63b7bbd95ce3a10d2dc23e5842cbd2c0b115ffec 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: Fri, 19 Sep 2025 18:00:20 +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_approval/models/property_lease_renewal.py | 2 +- yuthon_property_approval/views/property_fitment.xml | 5 +++++ .../wizard/click_reconciliation_wizard.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/yuthon_property_approval/models/property_lease_renewal.py b/yuthon_property_approval/models/property_lease_renewal.py index 4dfa75b6d..5880ae057 100644 --- a/yuthon_property_approval/models/property_lease_renewal.py +++ b/yuthon_property_approval/models/property_lease_renewal.py @@ -10,7 +10,7 @@ class PropertyLeaseRenewal(models.Model): _inherit = ['mail.thread.main.attachment', 'mail.activity.mixin', 'soong.workflow.mixin'] _rec_name = 'name' - name = fields.Text(string='标题', store=True) + name = fields.Char(string='标题') user_id = fields.Many2one('res.users', string="申请人", default=lambda self: self.env.user) department_id = fields.Many2one(related='user_id.department_id', string="部门") company_id = fields.Many2one(related='user_id.company_id', string="公司") diff --git a/yuthon_property_approval/views/property_fitment.xml b/yuthon_property_approval/views/property_fitment.xml index 8d7c8f9d3..d61f4cf0b 100644 --- a/yuthon_property_approval/views/property_fitment.xml +++ b/yuthon_property_approval/views/property_fitment.xml @@ -17,6 +17,11 @@
+
+

+ +

+