[IMP]
authorAmit Patel (OpenERP) <apa@tinyerp.com>
Mon, 30 Apr 2012 13:14:04 +0000 (18:44 +0530)
committerAmit Patel (OpenERP) <apa@tinyerp.com>
Mon, 30 Apr 2012 13:14:04 +0000 (18:44 +0530)
bzr revid: apa@tinyerp.com-20120430131404-u9jp6pgt3o9tc2e9

addons/event/event.py

index 6bf1ea2..3210692 100644 (file)
@@ -186,8 +186,8 @@ class event_event(osv.osv):
         'state': fields.selection([
             ('draft', 'Unconfirmed'),
             ('confirm', 'Confirmed'),
-            ('done', 'Done'),
-            ('cancel', 'Cancelled')],
+            ('cancel', 'Cancelled'),
+            ('done', 'Done')],
             'State', readonly=True, required=True,
             help='If event is created, the state is \'Draft\'.If event is confirmed for the particular dates the state is set to \'Confirmed\'. If the event is over, the state is set to \'Done\'.If event is cancelled the state is set to \'Cancelled\'.'),
         'email_registration_id' : fields.many2one('email.template','Registration Confirmation Email', help='This field contains the template of the mail that will be automatically sent each time a registration for this event is confirmed.'),