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..
Esta pergunta foi sinalizada
1
Responder
5047
Visualizações
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,
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscrever-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
|
4
nov. 15
|
8284 | ||
|
|
1
abr. 23
|
7206 | ||
|
|
3
set. 22
|
9163 | ||
|
Odoo 15| specific default date
Resolvido
|
|
1
jun. 22
|
4256 | |
|
|
2
abr. 22
|
8115 |