Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3452 Visualizzazioni

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,

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
feb 18
2502
1
gen 24
1360
2
set 22
1991
0
apr 17
3250
0
feb 17
2959