Skip to content
Snippets Groups Projects
Commit 6829d7af authored by Benjami's avatar Benjami
Browse files

fix required groups to view Assign admin buttton

parent 28722c5b
No related branches found
No related tags found
2 merge requests!253[REL] Release 06/11/23,!191V1 imrpvements to CompanyEasyCreation wizard (CRM Lead execution)🙋‍
......@@ -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">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment