From 29d16f756c4d8e738c781684c10a2a9139b7cf83 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Mon, 4 Aug 2014 17:52:02 +0200 Subject: [PATCH 01/41] [FIX] calendar: avoid double 'Attendees' field in search view The partner_ids fields represents attendees but it's confusing to have twice the same field in search view (opw 607275) --- addons/calendar/calendar.py | 2 +- addons/calendar/calendar_view.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/calendar/calendar.py b/addons/calendar/calendar.py index d66b7f769bc..a34916a36ef 100644 --- a/addons/calendar/calendar.py +++ b/addons/calendar/calendar.py @@ -851,7 +851,7 @@ class calendar_event(osv.Model): 'active': fields.boolean('Active', help="If the active field is set to true, it will allow you to hide the event alarm information without removing it."), 'categ_ids': fields.many2many('calendar.event.type', 'meeting_category_rel', 'event_id', 'type_id', 'Tags'), 'attendee_ids': fields.one2many('calendar.attendee', 'event_id', 'Attendees', ondelete='cascade'), - 'partner_ids': fields.many2many('res.partner', string='Attendees', states={'done': [('readonly', True)]}), + 'partner_ids': fields.many2many('res.partner', string='Invitations', states={'done': [('readonly', True)]}), 'alarm_ids': fields.many2many('calendar.alarm', string='Reminders', ondelete="restrict"), } diff --git a/addons/calendar/calendar_view.xml b/addons/calendar/calendar_view.xml index 7e1b6a55039..d733b5dc452 100644 --- a/addons/calendar/calendar_view.xml +++ b/addons/calendar/calendar_view.xml @@ -41,7 +41,7 @@

-