From c4434a92467267196db8711ce53cecdf0cc84dae Mon Sep 17 00:00:00 2001 From: "ajay javiya (OpenERP)" Date: Tue, 3 Sep 2013 14:32:46 +0530 Subject: [PATCH] [IMP]: Rename Hide scheduled call menu to Show scheduled call menu because by default menu is hidden bzr revid: aja@tinyerp.com-20130903090246-45zw6cqc94u0le7e --- addons/crm/res_config.py | 6 +++--- addons/crm/security/crm_security.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/crm/res_config.py b/addons/crm/res_config.py index 1a0b099c66c..0ad2580bc48 100644 --- a/addons/crm/res_config.py +++ b/addons/crm/res_config.py @@ -29,7 +29,7 @@ class crm_configuration(osv.TransientModel): def set_group_multi_salesteams(self, cr, uid, ids, context=None): """ This method is automatically called by res_config as it begins with set. It is used to implement the 'one group or another' - behavior. We have to perform some group manipulation by hand + behavior. We have to perform some group manipulation by hand because in res_config.execute(), set_* methods are called after group_*; therefore writing on an hidden res_config file could not work. @@ -65,9 +65,9 @@ class crm_configuration(osv.TransientModel): 'group_multi_salesteams': fields.boolean("Organize Sales activities into multiple Sales Teams", implied_group='base.group_multi_salesteams', help="""Allows you to use Sales Teams to manage your leads and opportunities."""), - 'group_scheduled_calls_menu': fields.boolean("Hide Scheduled Calls Menu", + 'group_scheduled_calls_menu': fields.boolean("Show Scheduled Calls Menu", implied_group='crm.group_scheduled_calls_menu', - help="""Allows to hide Scheduled Calls Menu in Sales/Phone Calls Menu""") + help="""Allows to Show Scheduled Calls Menu in Sales/Phone Calls Menu""") } diff --git a/addons/crm/security/crm_security.xml b/addons/crm/security/crm_security.xml index 8db6ab509e1..08665e514fa 100644 --- a/addons/crm/security/crm_security.xml +++ b/addons/crm/security/crm_security.xml @@ -42,7 +42,7 @@ - Hide Scheduled Calls Menu + Show Scheduled Calls Menu