[IMP]: Rename Hide scheduled call menu to Show scheduled call menu because by default menu is hidden

bzr revid: aja@tinyerp.com-20130903090246-45zw6cqc94u0le7e
This commit is contained in:
ajay javiya (OpenERP) 2013-09-03 14:32:46 +05:30
parent f9f82fc5f1
commit c4434a9246
2 changed files with 4 additions and 4 deletions

View File

@ -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""")
}

View File

@ -42,7 +42,7 @@
</record>
<record id="group_scheduled_calls_menu" model="res.groups">
<field name="name">Hide Scheduled Calls Menu</field>
<field name="name">Show Scheduled Calls Menu</field>
<field name="category_id" ref="base.module_category_hidden"/>
</record>