Skip to Content
Menu
This question has been flagged
1 Reply
1144 Views

i want add a field in view calendar below the title of appointment.

inside the file i want add the 2nd field :

odoo15/odoo/addons/calendar/static/src/xml/base_calendar.xml


can help me please?
<tt-name="Calendar.calendar-box"><divt-attf-class="#{record.is_highlighted ? 'o_event_hightlight' : ''} #{typeof color === 'number' ? _.str.sprintf('o_calendar_color_%s', color) : 'o_calendar_color_1'} fc-event o_event o_attendee_status_#{record.is_alone ? 'alone' : record.attendee_status} py-0"><divclass="o_event_title mr-2"><spant-if="record.is_alone"class="fa fa-exclamation-circle"/><tt-esc="record.display_name"/>div><div><tt-esc="record.display_name"/>div><spanclass="fc-time"/>div>t>
Avatar
Discard
Best Answer

You can't do like this, you need your own model, not to modifying the original code. and your question, it's not clear

Avatar
Discard