diff --git a/energy_communities/views/res_company_views.xml b/energy_communities/views/res_company_views.xml index 85b2beea8812123d8b27a51a9ca9db43ec03115f..10168d95c86f0e74db47115b1aa9c11e24523c48 100644 --- a/energy_communities/views/res_company_views.xml +++ b/energy_communities/views/res_company_views.xml @@ -14,8 +14,18 @@ <xpath expr="//sheet" position="before"> <header> <field name="landing_page_id" invisible="1"/> - <button name="create_landing" type="object" string="Create landing page" attrs="{'invisible': [('landing_page_id','!=',False)]}" /> - <button name="action_open_assign_admin_wizard" type="object" string="Assing administrator" groups="['group_admin','group_platform_manager','group_coordinator']"/> + <button + name="create_landing" + type="object" + string="Create landing page" + attrs="{'invisible': [('landing_page_id','!=',False)]}" + /> + <button + name="action_open_assign_admin_wizard" + type="object" + string="Assing administrator" + groups="energy_communities.group_platform_manager, energy_communities.group_admin, energy_communities.group_coordinator" + /> </header> </xpath> <xpath expr="//field[@name='logo']" position="before">