Skip to content
Snippets Groups Projects
Commit 7eecdaab authored by Daniil Digtyar Vasilieva's avatar Daniil Digtyar Vasilieva :call_me:
Browse files

[FIX] energy_selfconsumption: uom_id didn't set in contract.line

parent 3500a4c0
No related branches found
No related tags found
1 merge request!243[IMP] energy_selfconsumption: invoicing integration fixes
Pipeline #62949 passed
This commit is part of merge request !228. Comments created here will be created in the context of that merge request.
......@@ -89,6 +89,7 @@ class ContractGenerationWizard(models.TransientModel):
"company_id": self.env.company.id,
"qty_type": "variable",
"qty_formula_id": formula_contract_id.id,
"uom_id": product_id.uom_id.id,
# Values are formatted in contract_generation_wizard
"name": """CUPS: {code}\nOwner: {owner_id}\nInvoicing period: #START# - #END#""",
}
......
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