Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3439 มุมมอง

Hi,

In the calendar view you can see records over a calendar. By default, the name of the record is shown.

I want to implement a customization to add some more information besides the name of the record. For example, the name of the record and the the creation date. 

To do so, should I override the compute method of the display_name field? Or is it better to override the name_get() function in the model?

Is there a better way to do it?

Thanks,

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

For your needs, you can use it to override the name_get() function in the model. if do you need more customization about the calendar view, then  you can refer to the blog

https://cybrosys.com/blog/how-to-create-a-calendar-view-in-menus-of-the-odoo-15

Hope it helps

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.พ. 18
2499
1
ม.ค. 24
1357
2
ก.ย. 22
1984
0
เม.ย. 17
3245
0
ก.พ. 17
2955