From 034f540664fa3d2c939f2d22e65fcf575e05940d Mon Sep 17 00:00:00 2001 From: Jusab Sida Date: Fri, 17 Jul 2015 15:30:43 +0530 Subject: [PATCH] [IMP] crm, base_calendar: help messages on the active field were misleading. Actually, not really misleading, just wrong. Because the behavior is the opposite of what the help tells. --- addons/base_calendar/base_calendar.py | 4 ++-- addons/crm/crm.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index ca67114e851..c7534746160 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -647,7 +647,7 @@ class res_alarm(osv.osv): are both optional, but if one occurs, so MUST the other"""), 'repeat': fields.integer('Repeat'), 'active': fields.boolean('Active', help="If the active field is set to \ -true, it will allow you to hide the event alarm information without removing it.") +false, it will allow you to hide the event alarm information without removing it.") } _defaults = { 'trigger_interval': 'minutes', @@ -1108,7 +1108,7 @@ rule or repeating pattern of time to exclude from the recurring rule."), 'event_id', 'attendee_id', 'Attendees'), 'allday': fields.boolean('All Day', states={'done': [('readonly', True)]}), 'active': fields.boolean('Active', help="If the active field is set to \ - true, it will allow you to hide the event alarm information without removing it."), + false, it will allow you to hide the event alarm information without removing it."), 'recurrency': fields.boolean('Recurrent', help="Recurrent Meeting"), 'partner_ids': fields.many2many('res.partner', string='Attendees', states={'done': [('readonly', True)]}), } diff --git a/addons/crm/crm.py b/addons/crm/crm.py index 5953500dcec..02c13c7ec75 100644 --- a/addons/crm/crm.py +++ b/addons/crm/crm.py @@ -114,7 +114,7 @@ class crm_case_section(osv.osv): 'complete_name': fields.function(get_full_name, type='char', size=256, readonly=True, store=True), 'code': fields.char('Code', size=8), 'active': fields.boolean('Active', help="If the active field is set to "\ - "true, it will allow you to hide the sales team without removing it."), + "false, it will allow you to hide the sales team without removing it."), 'change_responsible': fields.boolean('Reassign Escalated', help="When escalating to this team override the salesman with the team leader."), 'user_id': fields.many2one('res.users', 'Team Leader'), 'member_ids':fields.many2many('res.users', 'sale_member_rel', 'section_id', 'member_id', 'Team Members'),