Skip to content
Snippets Groups Projects

Feature/variable hourly dist table

Closed emanuel buzey requested to merge feature/variable_hourly_dist_table into dev
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -54,7 +54,7 @@ class DistributionTableImportWizard(models.TransientModel):
parsing_data = self.with_context(active_id=self.ids[0])._parse_file(file_data)
active_id = self.env.context.get("active_id")
distribution_table = self.env['energy_selfconsumption.distribution_table'].browse(active_id)
distribution_table.import_error_found = False
type = distribution_table.type
if type == 'variable_schedule':
Loading