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

[FIX] energy_selfconsumption: owner not assigned to supply point when created

parent 8dad4015
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
......@@ -163,7 +163,7 @@ class SelfconsumptionImportWizard(models.TransientModel):
)
if not owner:
try:
res = self.env["res.partner"].create(
owner = self.env["res.partner"].create(
{
"vat": line_dict["owner_vat"],
"firstname": line_dict["owner_firstname"],
......
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