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

[CLN] energy_selfconsumption: remove unused fields

parent 83082794
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
This commit is part of merge request !211. Comments created here will be created in the context of that merge request.
......@@ -24,12 +24,6 @@ class ContractGenerationWizard(models.TransientModel):
UserWarning: When no accounting journal is found.
SomeException: When no distribution table in process of activation is found.
"""
product_id = self.selfconsumption_id.product_id
formula_contract_id = (
self.selfconsumption_id.product_id.contract_template_id.contract_line_ids.qty_formula_id
)
# Get distribution table
distribution_id = (
self.selfconsumption_id.distribution_table_ids.filtered_domain(
......
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