[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.
This commit is contained in:
Jusab Sida 2015-07-17 15:30:43 +05:30 committed by Thibault Delavallée
parent 0e151f7f32
commit 034f540664
2 changed files with 3 additions and 3 deletions

View File

@ -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)]}),
}

View File

@ -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'),