Skip to content
Snippets Groups Projects
Commit 7bab1a0c authored by ebuzeyTra's avatar ebuzeyTra
Browse files

typo in message fixed

parent eb00ccda
No related branches found
No related tags found
2 merge requests!195[REL] 14.0.2.0.0,!181Feature/add constrain to spa
Pipeline #43548 passed
......@@ -59,7 +59,7 @@ class SupplyPointAssignation(models.Model):
for record in self:
supply_points = record.distribution_table_id.selfconsumption_project_id.inscription_ids.mapped('partner_id.supply_ids')
if record.supply_point_id.id not in supply_points.ids:
raise ValidationError(_("The partner of the supply ppoint is not subscribed to the project"))
raise ValidationError(_("The partner of the supply point is not subscribed to the project"))
@api.onchange('coefficient')
def _onchange_coefficient(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment