Hi all,
I'm using module Calendar of odoo, now if we filter by adding favorite calendar (Owner of calendar), it's only display the calendar event that users are attendees. And I want to display the calendar events that has owner in filtered list (Favorite list), but this owner is not in attendee list. I known that the Owner has field name as 'user_id'.
What should I do to change the original calendar view. Current calendar view is:
<record id="view_calendar_event_calendar" model="ir.ui.view">
<field name="name">calendar.event.calendar</field>
<field name="model">calendar.event</field>
<field name="priority" eval="2"/>
<field name="arch" type="xml">
<calendar string="Meetings" date_start="start" date_stop="stop" date_delay="duration" all_day="allday"
display="[name]" color="color_partner_id" attendee="partner_ids" avatar_model="res.partner"
use_contacts="True" event_open_popup="%(calendar.view_calendar_event_form_popup)s">
<field name="name"/>
<field name="user_id"/>
<field name="color_partner_id"/>
<field name="partner_ids"/>
</calendar>
</field>
</record>
Hope that you understand my question.
Thank you