diff --git a/addons/gamification/__manifest__.py b/addons/gamification/__manifest__.py index 84bd41c577e..9b99964392a 100644 --- a/addons/gamification/__manifest__.py +++ b/addons/gamification/__manifest__.py @@ -32,12 +32,12 @@ Both goals and badges are flexibles and can be adapted to a large range of modul 'views/gamification_challenge_views.xml', 'views/gamification_challenge_line_views.xml', 'views/gamification_menus.xml', - 'data/cron.xml', 'security/gamification_security.xml', 'security/ir.model.access.csv', - 'data/mail_template_data.xml', - 'data/goal_base.xml', - 'data/badge.xml', + 'data/ir_cron_data.xml', + 'data/mail_template_data.xml', # keep before to populate challenge reports + 'data/gamification_badge_data.xml', + 'data/gamification_challenge_data.xml', 'data/gamification_karma_rank_data.xml', ], 'demo': [ diff --git a/addons/gamification/data/badge.xml b/addons/gamification/data/gamification_badge_data.xml similarity index 100% rename from addons/gamification/data/badge.xml rename to addons/gamification/data/gamification_badge_data.xml diff --git a/addons/gamification/data/goal_base.xml b/addons/gamification/data/gamification_challenge_data.xml similarity index 87% rename from addons/gamification/data/goal_base.xml rename to addons/gamification/data/gamification_challenge_data.xml index 06ba1f0d936..90be06389e6 100644 --- a/addons/gamification/data/goal_base.xml +++ b/addons/gamification/data/gamification_challenge_data.xml @@ -38,16 +38,6 @@ user.company_id.id - - Create User - ir.actions.act_window - res.users - current - - {} - Create and manage users that will connect to the system. Users can be deactivated should there be a period of time during which they will/should not connect to the system. You can assign them groups in order to give them specific access to the applications they need to use in the system. - - Invite new Users Create at least another user diff --git a/addons/gamification/data/cron.xml b/addons/gamification/data/ir_cron_data.xml similarity index 100% rename from addons/gamification/data/cron.xml rename to addons/gamification/data/ir_cron_data.xml diff --git a/addons/gamification/views/res_users_views.xml b/addons/gamification/views/res_users_views.xml index 8144105ef20..f1e9f085714 100644 --- a/addons/gamification/views/res_users_views.xml +++ b/addons/gamification/views/res_users_views.xml @@ -21,5 +21,15 @@ [('rank_id', '=', active_id)] + + Create User + ir.actions.act_window + res.users + current + + {} + Create and manage users that will connect to the system. Users can be deactivated should there be a period of time during which they will/should not connect to the system. You can assign them groups in order to give them specific access to the applications they need to use in the system. + +