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..
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
3721
Vistas
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,
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
4
nov 15
|
6149 | ||
|
1
abr 23
|
4925 | ||
|
3
sept 22
|
6456 | ||
Odoo 15| specific default date
Resuelto
|
|
1
jun 22
|
2861 | |
|
2
abr 22
|
6395 |