Skip to content
Snippets Groups Projects
Commit d9d13252 authored by emanuel buzey's avatar emanuel buzey
Browse files

[IMP] energy_selfconsumption: set import_error_found to False

parent 8d06a4b7
No related branches found
No related tags found
1 merge request!342Feature/variable hourly dist table
Pipeline #99035 passed
This commit is part of merge request !342. Comments created here will be created in the context of that merge request.
...@@ -54,7 +54,7 @@ class DistributionTableImportWizard(models.TransientModel): ...@@ -54,7 +54,7 @@ class DistributionTableImportWizard(models.TransientModel):
parsing_data = self.with_context(active_id=self.ids[0])._parse_file(file_data) parsing_data = self.with_context(active_id=self.ids[0])._parse_file(file_data)
active_id = self.env.context.get("active_id") active_id = self.env.context.get("active_id")
distribution_table = self.env['energy_selfconsumption.distribution_table'].browse(active_id) distribution_table = self.env['energy_selfconsumption.distribution_table'].browse(active_id)
distribution_table.import_error_found = False
type = distribution_table.type type = distribution_table.type
if type == 'variable_schedule': if type == 'variable_schedule':
......
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