Feature/variable hourly dist table
Compare changes
- emanuel buzey authored
[IMP] energy_selfconsumption: add DistributionTableVariable and DistributionTableVariableCoefficient
Conflict: This file was modified in both the source and target branches.
Ask someone with write access to resolve it.
@@ -9,21 +8,16 @@ STATE_VALUES = [
@@ -9,21 +8,16 @@ STATE_VALUES = [
@@ -36,32 +30,108 @@ class DistributionTable(models.Model):
@@ -36,32 +30,108 @@ class DistributionTable(models.Model):
vals['name'] = self.env.ref('energy_selfconsumption.distribution_table_sequence', False).next_by_id()
raise ValidationError(_("The supply point can't be removed because the distribution table state is {table_state}").format(table_state=record.state))
@@ -80,18 +150,36 @@ class DistributionTable(models.Model):
@@ -80,18 +150,36 @@ class DistributionTable(models.Model):