diff --git a/easy_my_coop/__manifest__.py b/easy_my_coop/__manifest__.py index 77751de..310f184 100644 --- a/easy_my_coop/__manifest__.py +++ b/easy_my_coop/__manifest__.py @@ -27,9 +27,9 @@ cooperative business processes. """, 'data': [ - 'security/easy_my_coop_security.xml', - 'security/ir.model.access.csv', 'data/easy_my_coop_data.xml', + 'security/res_groups.xml', + 'security/ir.model.access.csv', 'wizard/create_subscription_from_partner.xml', 'wizard/update_partner_info.xml', 'wizard/validate_subscription_request.xml', @@ -54,6 +54,7 @@ ], 'demo': [ 'demo/coop.xml', + 'demo/users.xml', ], 'installable': True, 'application': True, diff --git a/easy_my_coop/data/easy_my_coop_data.xml b/easy_my_coop/data/easy_my_coop_data.xml index e871e30..3bcf44b 100644 --- a/easy_my_coop/data/easy_my_coop_data.xml +++ b/easy_my_coop/data/easy_my_coop_data.xml @@ -1,6 +1,12 @@ - + + + Cooperative Management + Helps you manage your cooperator. + 3 + + Company Share @@ -34,4 +40,4 @@ - \ No newline at end of file + diff --git a/easy_my_coop/security/easy_my_coop_security.xml b/easy_my_coop/security/easy_my_coop_security.xml deleted file mode 100644 index fe56d8a..0000000 --- a/easy_my_coop/security/easy_my_coop_security.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - Cooperative Management - Helps you manage your cooperator. - 3 - - - - User - - - - - Manager - - - - - - - Super Manager - - - - - - - diff --git a/easy_my_coop/security/res_groups.xml b/easy_my_coop/security/res_groups.xml new file mode 100644 index 0000000..e07e82b --- /dev/null +++ b/easy_my_coop/security/res_groups.xml @@ -0,0 +1,15 @@ + + + + User + + + + + + Manager + + + + +