Skip to content
Snippets Groups Projects
Commit d63d813b authored by Emanuel Buzey's avatar Emanuel Buzey
Browse files

[FIX] energy_selfconsumption: save contract_template_id data

parent 594d6c20
No related branches found
No related tags found
No related merge requests found
Pipeline #60217 passed
......@@ -146,11 +146,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