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

[FIX] energy_selfconsumption: save contract_template_id data

parent 828d9a13
No related branches found
No related tags found
3 merge requests!253[REL] Release 06/11/23,!228[IMP] energy_selfconsumption: integration invoicing,!211[IMP] energy_selfconsumption: invoicing acquired power
......@@ -160,11 +160,12 @@ result = line.supply_point_assignation_id.distribution_table_id.selfconsumption_
self._prepare_contract_values(journal_id, contract_line)
)
product_id.write({"contract_template_id": contract_template_id.id})
self.selfconsumption_id.write(
{
"invoicing_mode": self.invoicing_mode,
"product_id": product_id,
"contract_template_id": contract_template_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