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

typo in message fixed

parent eb55eff9
No related branches found
No related tags found
No related merge requests found
Pipeline #40421 passed
This commit is part of merge request !181. Comments created here will be created in the context of that merge request.
......@@ -48,7 +48,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