Skip to content
Snippets Groups Projects
Commit c372cb6a authored by Emanuel Buzey's avatar Emanuel Buzey Committed by Daniil Digtyar Vasilieva
Browse files

[FIX] energy_selfconsumption: remove invoicing label

parent 37d2b0ba
No related branches found
No related tags found
2 merge requests!253[REL] Release 06/11/23,!211[IMP] energy_selfconsumption: invoicing acquired power
......@@ -42,9 +42,10 @@ class ContractGenerationWizard(models.TransientModel):
def save_data_to_selfconsumption(self):
# Create product
product_id = self.env["product.product"].create(
{
"name": f"{self.invoicing_mode[1]} - {self.selfconsumption_id.name}",
"name": self.selfconsumption_id.name,
"lst_price": self.price,
"company_id": self.env.company.id,
"project_id": self.selfconsumption_id.project_id.id,
......
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