Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4980 Lượt xem

How can i remove all list of favorites from calendar right sidebar, and display only the list of event's state (busy/ ocupied/ free.. )?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

The documentation about this is very poor but in https://www.odoo.com/documentation/11.0/reference/views.html#calendar show some ways to do parcialy what you need.

lets see..

    <record id="view_l10n_cu_calendar_event_calendar" model="ir.ui.view">
<field name="name">calendar.event.calendar</field>
<field name="model">calendar.event</field>
<field name="inherit_id" ref="calendar.view_calendar_event_calendar"/>
<field name="arch" type="xml">
<data>
<field name="partner_ids" position="replace" >
<field name="partner_ids"/>
</field>
</data>
</field>
</record>
Ảnh đại diện
Huỷ bỏ
Tác giả

Perfect Thanks

Did this wok for you Rick? Where did you implement this code?

Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 7 24
10740
1
thg 12 21
4277
1
thg 5 21
15744
0
thg 2 20
2749
1
thg 7 19
4255