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

[CLN] energy_selfconsumption: remove unused fields

parent 657cdc35
No related branches found
No related tags found
1 merge request!243[IMP] energy_selfconsumption: invoicing integration fixes
This commit is part of merge request !228. 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