[FIX] energy_selfconsumption: partner_id is the main partner to related to.
This change is detected from the constraint of supply_points_assignations (!181 (merged)) where it raises because it detects that the owner_id is not subscribed to the project.
Edited by Daniil Digtyar Vasilieva