From e95eee2bce720c24211c3f18e9dd796f0f25ad1f Mon Sep 17 00:00:00 2001 From: "Amit Patel (OpenERP)" Date: Mon, 21 May 2012 14:53:29 +0530 Subject: [PATCH] [IMP]:base_calendar:set statusbar at top bzr revid: apa@tinyerp.com-20120521092329-usq1wbnmjlpkg5nf --- addons/base_calendar/base_calendar.py | 9 +- addons/base_calendar/base_calendar_view.xml | 153 ++++++++++---------- 2 files changed, 85 insertions(+), 77 deletions(-) diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index 4dffd8bcbf8..f91ded74685 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -333,10 +333,10 @@ class calendar_attendee(osv.osv): ('opt-participant', 'Optional Participation'), \ ('non-participant', 'For information Purpose')], 'Role', \ help='Participation role for the calendar user'), - 'state': fields.selection([('tentative', 'Tentative'), - ('needs-action', 'Needs Action'), - ('accepted', 'Accepted'), + 'state': fields.selection([('needs-action', 'Needs Action'), + ('tentative', 'Tentative'), ('declined', 'Declined'), + ('accepted', 'Accepted'), ('delegated', 'Delegated')], 'State', readonly=True, \ help="Status of the attendee's participation"), 'rsvp': fields.boolean('Required Reply?', @@ -1036,8 +1036,9 @@ class calendar_event(osv.osv): 'Show as', states={'done': [('readonly', True)]}), 'base_calendar_url': fields.char('Caldav URL', size=264), 'state': fields.selection([('tentative', 'Tentative'), + ('cancelled', 'Cancelled'), ('confirmed', 'Confirmed'), - ('cancelled', 'Cancelled')], 'State', readonly=True), + ], 'State', readonly=True), 'exdate': fields.text('Exception Date/Times', help="This property \ defines the list of date/time exceptions for a recurring calendar component."), 'exrule': fields.char('Exception Rule', size=352, help="Defines a \ diff --git a/addons/base_calendar/base_calendar_view.xml b/addons/base_calendar/base_calendar_view.xml index 8af1746b5e9..f24f206b107 100644 --- a/addons/base_calendar/base_calendar_view.xml +++ b/addons/base_calendar/base_calendar_view.xml @@ -8,59 +8,63 @@ calendar.attendee form -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -