Skip to content

[IMP] Feature/add energy selfconsumption distribution table

Trello Card

Already deployed on testing. https://erp-testing.somcomunitats.coop/web#id=&action=584&model=energy_selfconsumption.distribution_table&view_type=form&cids=4&menu_id=424

Changelog

  • [ADD] energy_selfconsumption: Added new model for distribution tables.
  • [ADD] energy_selfconsumption: Added new model for assignations of supply points in distribution tables.
  • [IMP] energy_selfconsumption: supply assignations use computed supply_point_filtered_ids to only show inscribed supply points and not already in the table.
  • [IMP] energy_selfconsumption: add relation of active distribution table to self-consumption project
  • [IMP] energy_selfconsumption: self-consumption project validate active distribution table
  • [IMP] energy_selfconsumption: supply point show assignations on his view (read-only)
  • [IMP] energy_selfconsumption: multi-company logic to new models (distribution tables and assignation supply points)
  • [IMP] energy_selfconsumption: full CRUD access for admin users and only read for normal user in new models.
  • [IMP] energy_selfconsumption: on creating supply point from partner will get the default owner in the form.
  • [I18N] energy_selfconsumption: updated translation to es, cat and eu.
  • [IMP] energy_selfconsumption_cooperator: on creating supply point from partner will get the default cooperator in the form.

To do:

Edited by Daniil Digtyar Vasilieva

Merge request reports

Loading