Skip to content

[ADD] Base energy projects module and energy selfconsumtion module

Daniil Digtyar Vasilieva requested to merge feature/ADD_energy_projects into dev

Changelog

  • [ADD] energy_project Base module for energy projects
    • [ADD] Model project as base for all the energy projects inhered via delegation
    • [ADD] Model inscriptions to control partner inscriptions to projects
    • [ADD] Model project_type to indicate the type of the project in the base module, new types must be created via data.xml and assigned in the context.
    • [ADD] Multi-company logic for project model, (If no company_id is assigned all the companies will see it)
    • [ADD] New group user and admin` to control permissions on all energy projects.
  • [ADD] energy_project_energy_communities Glue module between energy_project and energy_communties.
    • [IMP] domain to partner_id to only show cooperators
    • [IMP] energy_project groups are added to energy_communities roles.
  • [ADD] energy_selfconsumption Module to add the logic for the self-consumption energy projects.
    • [ADD] Model selfconsumption inherits via delegation project model and adds all the own project logic.
      • mail.thread, mail.activity.mixin will be needed to be inherited in the final project model and not the base project because inherit delegation doesn't inherit methods (We should see how this limit us).
    • [ADD] Model supply_point: Locations of energy consumptions related to a partner.
    • [ADD] Security logic using the groups of energy_projects
    • [ADD] New Views form and tree for selfconsumption and supply_points
    • [ADD] Action window to only show owners (res.partner) of supply_points
  • [ADD] energy_selfconsumption_cooperator Glue module between energy_selfconsumption and cooperator.
    • [IMP] New field cooperator_id in supply to relate to a cooperator res.partner
    • [ADD] Action window to only show cooperators (res.partner)

Trello cards:

TODO

Edited by Daniil Digtyar Vasilieva

Merge request reports