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..
Cette question a été signalée
1
Répondre
5038
Vues
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,
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
4
nov. 15
|
8277 | ||
|
|
1
avr. 23
|
7190 | ||
|
|
3
sept. 22
|
9160 | ||
|
|
1
juin 22
|
4244 | ||
|
|
2
avr. 22
|
8114 |