How can I change the calendar to not show it by sequence but by userid?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
1
Cevapla
611
Görünümler
Hi.
To change the calendar view in Odoo to show events by user ID instead of sequence, you would need to customize the calendar view. Here’s a general outline of the process:
- Identify the Calendar View: Find the XML file that defines the calendar view for the model you’re interested in. This could be in the module that defines the model, or in a custom module if you’ve already created one.
- Modify the View: In the XML file, locate the tag that defines the calendar view. You’ll see attributes like date_start, date_stop, and color, which define the start and end dates of events and the color used to distinguish different events.
- Change the color Attribute: The color attribute determines how events are grouped in the calendar view. By default, this might be set to a field like sequence. Change this to user_id to group events by user ID.
Here’s an example of what the modified view might look like:
https://pastebin.com/H1wp681k
Hope it helps.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol
I changed the "color" field and it only changed the color of the filter widget