diff --git a/yuthon_property_approval/models/inherit_yuthon_property.py b/yuthon_property_approval/models/inherit_yuthon_property.py index 1563edc38..fa568e2cf 100644 --- a/yuthon_property_approval/models/inherit_yuthon_property.py +++ b/yuthon_property_approval/models/inherit_yuthon_property.py @@ -839,6 +839,7 @@ class PropertyDepositList(models.Model): posit_type = fields.Selection([('deposit', '押金'), ('performance_bonds', '经营履约保证金'), ('utility_bills', '水电费'), ('decorate', '装修')], string="保证金类型") original_amount = fields.Float(string="金额") + tenure_type = fields.Selection(related='contract_id.tenure_type', string="权属类型", store=True) company_id = fields.Many2one(related='contract_id.lessor_id', string="出租方公司", store=True) def push_deposit(self):