diff --git a/yuthon_property/models/property_evaluation_plan.py b/yuthon_property/models/property_evaluation_plan.py index 843719334..76bfc6913 100644 --- a/yuthon_property/models/property_evaluation_plan.py +++ b/yuthon_property/models/property_evaluation_plan.py @@ -72,7 +72,7 @@ class PropertyEvaluationPlan(models.Model): property_evaluation_ids = self.env["property.evaluation.plan"].browse( self._context.get('active_ids', self._context.get('active_id'))) for record in property_evaluation_ids: - property_id = self.sudo().env['yuthon.property'].search([('name', 'in', record.name)]) + property_id = self.sudo().env['yuthon.property'].search([('name', '=', record.name)]) if property_id: record.write({ 'owner_id': property_id.owner_id,