Browse Source

[IMP] in Odoo 12 admin user is user_admin and no more user_root

12.0-add-financial-risk
houssine 5 years ago
parent
commit
94ece51b7b
  1. 4
      easy_my_coop/security/easy_my_coop_security.xml

4
easy_my_coop/security/easy_my_coop_security.xml

@ -17,14 +17,14 @@
<field name="name">Manager</field> <field name="name">Manager</field>
<field name="category_id" ref="module_category_cooperator_management"/> <field name="category_id" ref="module_category_cooperator_management"/>
<field name="implied_ids" eval="[(4, ref('group_easy_my_coop_user'))]"/> <field name="implied_ids" eval="[(4, ref('group_easy_my_coop_user'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
<field name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/>
</record> </record>
<record id="group_easy_my_coop_super_manager" model="res.groups"> <record id="group_easy_my_coop_super_manager" model="res.groups">
<field name="name">Super Manager</field> <field name="name">Super Manager</field>
<field name="category_id" ref="module_category_cooperator_management"/> <field name="category_id" ref="module_category_cooperator_management"/>
<field name="implied_ids" eval="[(4, ref('group_easy_my_coop_manager'))]"/> <field name="implied_ids" eval="[(4, ref('group_easy_my_coop_manager'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
<field name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/>
</record> </record>
</data> </data>

Loading…
Cancel
Save