diff --git a/yuthon_property_approval/models/inherit_yuthon_property.py b/yuthon_property_approval/models/inherit_yuthon_property.py index d700af6c8..eb488889c 100644 --- a/yuthon_property_approval/models/inherit_yuthon_property.py +++ b/yuthon_property_approval/models/inherit_yuthon_property.py @@ -403,7 +403,7 @@ class PropertyAccountsReceivable(models.Model): title_deed = fields.Char(string="产权证号", compute='_compute_title_deed') lessee_id = fields.Many2one(related='contract_id.lessee_id', string='承租方') contract_id = fields.Many2one('property.lease.contract', string="关联租赁合同审批") - company_id = fields.Many2one(related='contract_id.company_id', string="公司") + company_id = fields.Many2one(related='contract_id.company_id', string="公司", store=True) admin_id = fields.Many2one(related='contract_id.admin_id', string="片区管理员", store=True) tenure_type = fields.Selection(related='contract_id.tenure_type', string="权属类型", store=True) precinct_id = fields.Many2one(related='contract_id.precinct_id', string="所属片区", store=True)