diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index bbededc8eaf..5fc38c884da 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -1031,10 +1031,10 @@ class calendar_event(osv.osv): 'duration': fields.float('Duration', states={'done': [('readonly', True)]}), 'description': fields.text('Description', states={'done': [('readonly', True)]}), 'class': fields.selection([('public', 'Public'), ('private', 'Private'), \ - ('confidential', 'Public for Employees')], 'Mark as', states={'done': [('readonly', True)]}), + ('confidential', 'Public for Employees')], 'Privacy', states={'done': [('readonly', True)]}), 'location': fields.char('Location', size=264, help="Location of Event", states={'done': [('readonly', True)]}), 'show_as': fields.selection([('free', 'Free'), ('busy', 'Busy')], \ - 'Show as', states={'done': [('readonly', True)]}), + 'Show Time as', states={'done': [('readonly', True)]}), 'base_calendar_url': fields.char('Caldav URL', size=264), 'state': fields.selection([('tentative', 'Tentative'), ('cancelled', 'Cancelled'), @@ -1051,7 +1051,7 @@ rule or repeating pattern of time to exclude from the recurring rule."), ('yearly', 'Yearly'),], 'Recurrency', states={'done': [('readonly', True)]}, help="Let the event automatically repeat at that interval"), - 'alarm_id': fields.many2one('res.alarm', 'Alarm', states={'done': [('readonly', True)]}, + 'alarm_id': fields.many2one('res.alarm', 'Reminder', states={'done': [('readonly', True)]}, help="Set an alarm at this time, before the event occurs" ), 'base_calendar_alarm_id': fields.many2one('calendar.alarm', 'Alarm'), 'recurrent_uid': fields.integer('Recurrent ID'), diff --git a/addons/base_calendar/crm_meeting.py b/addons/base_calendar/crm_meeting.py index dcc97156681..37056961eab 100644 --- a/addons/base_calendar/crm_meeting.py +++ b/addons/base_calendar/crm_meeting.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution @@ -50,15 +50,14 @@ class crm_meeting(base_state, osv.Model): 'write_date': fields.datetime('Write Date', readonly=True), 'date_open': fields.datetime('Confirmed', readonly=True), 'date_closed': fields.datetime('Closed', readonly=True), - 'partner_id': fields.many2one('res.partner', 'Partner', states={'done': [('readonly', True)]}), - 'email_from': fields.char('Email', size=128, states={'done': [('readonly', True)]}, - help="These people will receive email."), + 'partner_ids': fields.many2many('res.partner', string='Attendees', states={'done': [('readonly', True)]}), 'state': fields.selection( [('draft', 'Unconfirmed'), ('open', 'Confirmed'), ('cancel', 'Cancelled'), ('done', 'Done')], string='Status', size=16, readonly=True), # Meeting fields - 'name': fields.char('Summary', size=128, required=True, states={'done': [('readonly', True)]}), - 'categ_id': fields.many2one('crm.meeting.type', 'Meeting Type'), + 'name': fields.char('Meeting Subject', size=128, required=True, states={'done': [('readonly', True)]}), + 'categ_ids': fields.many2many('crm.meeting.type', 'meeting_category_rel', + 'event_id', 'type_id', 'Tags'), 'attendee_ids': fields.many2many('calendar.attendee', 'meeting_attendee_rel',\ 'event_id', 'attendee_id', 'Attendees', states={'done': [('readonly', True)]}), } diff --git a/addons/base_calendar/crm_meeting_view.xml b/addons/base_calendar/crm_meeting_view.xml index a2f3c2408d7..c58c27a9959 100644 --- a/addons/base_calendar/crm_meeting_view.xml +++ b/addons/base_calendar/crm_meeting_view.xml @@ -75,7 +75,7 @@
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - + + + + + + + + + + + + + + + +