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

I had a journal field(many2one) and my requirement is to display one of the journal item as default while opening the form itself.How can we do that..

Avatar
Abbandona
Risposta migliore

Simple !

1) Create Journal records by XML file. ( This is optional)

2) Then in _defaults add a function to search journal by XML ID. 

3) If your journal finds in _default, then when you open form view, automatically that journal will populated in many2one field.

Let me know still you have confusion,

Regards,

 

 

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
nov 15
6557
1
apr 23
5379
3
set 22
7069
1
giu 22
3182
2
apr 22
6687