projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de2e08f
)
[FIX] base_calendar : timezone False sent to server for write
author
Thibault Francois
<tfr@openerp.com>
Wed, 2 Feb 2011 14:35:57 +0000
(15:35 +0100)
committer
Thibault Francois
<tfr@openerp.com>
Wed, 2 Feb 2011 14:35:57 +0000
(15:35 +0100)
bzr revid: tfr@openerp.com-
20110202143557
-9cefs1eyu2yekh04
addons/base_calendar/base_calendar.py
patch
|
blob
|
history
diff --git
a/addons/base_calendar/base_calendar.py
b/addons/base_calendar/base_calendar.py
index
e5cff94
..
f8ac4c4
100644
(file)
--- a/
addons/base_calendar/base_calendar.py
+++ b/
addons/base_calendar/base_calendar.py
@@
-1473,7
+1473,7
@@
e.g.: Every other month on the last Sunday of the month for 10 occurrences:\
if not real_event_id in new_ids:
new_ids.append(real_event_id)
- if vals.get('vtimezone', '').startswith('/freeassociation.sourceforge.net/tzfile/'):
+ if vals.get('vtimezone', '') and vals.get('vtimezone', '').startswith('/freeassociation.sourceforge.net/tzfile/'):
vals['vtimezone'] = vals['vtimezone'][40:]
updated_vals = self.onchange_dates(cr, uid, new_ids,