diff --git a/yuthon_property_approval/models/inherit_yuthon_property.py b/yuthon_property_approval/models/inherit_yuthon_property.py index dfff72510..4e90dd18a 100644 --- a/yuthon_property_approval/models/inherit_yuthon_property.py +++ b/yuthon_property_approval/models/inherit_yuthon_property.py @@ -399,8 +399,8 @@ class PropertyAccountsReceivable(models.Model): management_area = fields.Float(related='contract_id.total_area', string='面积') title_deed = fields.Char(string="产权证号", compute='_compute_title_deed') lessee_id = fields.Many2one(related='contract_id.lessee_id', string='承租方', store=True) - company_id = fields.Many2one(related='contract_id.lessor_id', string="公司(数据库关联错误)", store=True) - company_id1 = fields.Many2one(related='contract_id.admin_id.company_id', string="公司", store=True) + company_id = fields.Many2one(related='contract_id.lessor_id', string="出租方公司", store=True) + company_id1 = fields.Many2one(related='contract_id.admin_id.company_id', string="管理员公司", store=True) contract_id = fields.Many2one('property.lease.contract', string="关联租赁合同审批") admin_id = fields.Many2one(related='contract_id.admin_id', string="片区管理员", store=True) tenure_type = fields.Selection(related='contract_id.tenure_type', string="权属类型", store=True)