From a5f3286d8cdac848b3604ef5d9b114ced4eb0835 Mon Sep 17 00:00:00 2001
From: Daniil Digtyar Vasilieva <daniildigtyar@gmail.com>
Date: Wed, 19 Jul 2023 12:14:11 +0200
Subject: [PATCH] [FIX] energy_selfconsumption: typo on key owner_firstname

---
 energy_selfconsumption/wizards/selfconsumption_import_wizard.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/energy_selfconsumption/wizards/selfconsumption_import_wizard.py b/energy_selfconsumption/wizards/selfconsumption_import_wizard.py
index 5d5b2b79b..1fff35ae1 100644
--- a/energy_selfconsumption/wizards/selfconsumption_import_wizard.py
+++ b/energy_selfconsumption/wizards/selfconsumption_import_wizard.py
@@ -166,7 +166,7 @@ class SelfconsumptionImportWizard(models.TransientModel):
                 res = self.env["res.partner"].create(
                     {
                         "vat": line_dict["owner_vat"],
-                        "firstname": line_dict["owner_fistname"],
+                        "firstname": line_dict["owner_firstname"],
                         "lastname": line_dict["owner_lastname"],
                         "company_type": "person",
                     }
-- 
GitLab