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 @@
+
+

+ +

+