[FIX]: base_calendar: Changed timezone field to selection instead of related field with user timezone

bzr revid: rpa@tinyerp.com-20100818134344-m1xnychcczsinnbj
This commit is contained in:
rpa (Open ERP) 2010-08-18 19:13:44 +05:30
parent dfe1896224
commit 3620ab450f
1 changed files with 1 additions and 2 deletions

View File

@ -1111,8 +1111,7 @@ e.g.: Every other month on the last Sunday of the month for 10 occurrences:\
'base_calendar_alarm_id': fields.many2one('calendar.alarm', 'Alarm'),
'recurrent_uid': fields.integer('Recurrent ID'),
'recurrent_id': fields.datetime('Recurrent ID date'),
'vtimezone': fields.related('user_id', 'context_tz', type='char', size=24, \
string='Timezone', store=True),
'vtimezone': fields.selection(_tz_get, size=64, string='Timezone'),
'user_id': fields.many2one('res.users', 'Responsible', states={'done': [('readonly', True)]}),
'organizer': fields.char("Organizer", size=256, states={'done': [('readonly', True)]}), # Map with Organizer Attribure of VEvent.
'organizer_id': fields.many2one('res.users', 'Organizer', states={'done': [('readonly', True)]}),