The Calendar module displays usernames to the right of the main calendar that you can select to show or hide that user's meetings. Where is the code for this behavior? I would like to extend it, but I haven't been able to figure out how it's doing what it's doing.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
The calendar view display the list of username using the color attribute that takes a field to put a checkbox to filter the values of the field to be show or hide in the calendar view and also assign a color for each value. Take this as example
<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="347">
<field name="name"/>
<field name="user_id"/>
<field name="color_partner_id"/>
<field name="partner_ids"/>
</calendar>
be aware, Calendar module uses "use_contacts" which allow to only have a list of "friends". Standard calendar view add a filter for each occurrences in the calendar view of the current month.
Thanks. That's helpful. Does that mean that you can't change which model is used to populate that filter in the Calendar Module? For instance, I couldn't change it to filter by Meeting type? It sounds like you're saying that in another, standard calendar view I could setup a filter for whatever I want? Is that correct? Also, what does attendee do?
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 6 25
|
728 | ||
|
0
thg 4 19
|
3278 | ||
|
1
thg 2 16
|
6766 | ||
|
0
thg 3 15
|
4358 | ||
|
1
thg 5 25
|
786 |