summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorChristophe Simonis <chs@openerp.com>2014-01-20 17:40:54 +0100
committerChristophe Simonis <chs@openerp.com>2014-01-20 17:40:54 +0100
commite516362da433c59333746e5cd527a4dee795a7a2 (patch)
tree1c2bbb727cfd7c3988359dec45a2cc3f9d92352a /addons
parent9b31f30c298615c4201ee258ef5af3182df0b2e5 (diff)
[IMP] calendar: tell orm to rename old select1 column
bzr revid: chs@openerp.com-20140120164054-ia6pw4svp3ylww5w
Diffstat (limited to 'addons')
-rw-r--r--addons/calendar/calendar.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/calendar/calendar.py b/addons/calendar/calendar.py
index 6162d3cb8cf..f0862601611 100644
--- a/addons/calendar/calendar.py
+++ b/addons/calendar/calendar.py
@@ -2,7 +2,7 @@
##############################################################################
#
# OpenERP, Open Source Business Applications
-# Copyright (c) 2011 OpenERP S.A. <http://openerp.com>
+# Copyright (c) 2011-2014 OpenERP S.A. <http://openerp.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
@@ -831,7 +831,7 @@ class calendar_event(osv.Model):
'fr': fields.boolean('Fri'),
'sa': fields.boolean('Sat'),
'su': fields.boolean('Sun'),
- 'month_by': fields.selection([('date', 'Date of month'), ('day', 'Day of month')], 'Option'),
+ 'month_by': fields.selection([('date', 'Date of month'), ('day', 'Day of month')], 'Option', oldname='select1'),
'day': fields.integer('Date of month'),
'week_list': fields.selection([('MO', 'Monday'), ('TU', 'Tuesday'), ('WE', 'Wednesday'), ('TH', 'Thursday'), ('FR', 'Friday'), ('SA', 'Saturday'), ('SU', 'Sunday')], 'Weekday'),
'byday': fields.selection([('1', 'First'), ('2', 'Second'), ('3', 'Third'), ('4', 'Fourth'), ('5', 'Fifth'), ('-1', 'Last')], 'By day'),