Skip to content
Snippets Groups Projects
Commit 3b799329 authored by Daniil Digtyar Vasilieva's avatar Daniil Digtyar Vasilieva :call_me:
Browse files

[FIX]energy_selfconsumption: translate just str before formatting

parent bfc69d7c
No related branches found
No related tags found
2 merge requests!187Release 14.0.1.1.13,!155[IMP] energy_selfconsumption: importation of selfconsumption inscriptions, supply points and distribution tables by CSV
......@@ -68,11 +68,9 @@ class SelfconsumptionImportWizard(models.TransientModel):
if error_string_list:
project.message_post(
subject=_("Import Errors"),
body=_(
"Import errors found: <ul>{list}</ul>".format(
list=error_string_list
)
),
body=_("Import errors found: <ul>{list}</ul>").format(
list=error_string_list
)
)
return True
......
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