From bc5962efc4770e0d68c7557652769e70254c453e Mon Sep 17 00:00:00 2001
From: Daniil Digtyar Vasilieva <daniil.digtyar@somit.coop>
Date: Tue, 10 Oct 2023 11:50:10 +0200
Subject: [PATCH] [FIX] energy_selfconsumption: remove price

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

diff --git a/energy_selfconsumption/wizards/define_invoicing_mode_wizard.py b/energy_selfconsumption/wizards/define_invoicing_mode_wizard.py
index a36639d35..9a99ac82b 100644
--- a/energy_selfconsumption/wizards/define_invoicing_mode_wizard.py
+++ b/energy_selfconsumption/wizards/define_invoicing_mode_wizard.py
@@ -69,7 +69,7 @@ if days_timedelta:
   days_between = days_timedelta.days + 1
 else:
   days_between = 0
-result = line.supply_point_assignation_id.distribution_table_id.selfconsumption_project_id.power * line.supply_point_assignation_id.coefficient * {self.price} * days_between
+result = line.supply_point_assignation_id.distribution_table_id.selfconsumption_project_id.power * line.supply_point_assignation_id.coefficient *  days_between
 """,
                 }
             )
-- 
GitLab