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
- Účetnictví
- Sklad
- PoS
- Project
- MRP
This question has been flagged
1
Odpovědět
3717
Zobrazení
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,
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit seRelated Posts | Odpovědi | Zobrazení | Aktivita | |
---|---|---|---|---|
|
4
lis 15
|
6143 | ||
|
1
dub 23
|
4918 | ||
|
3
zář 22
|
6454 | ||
Odoo 15| specific default date
Vyřešeno
|
|
1
čvn 22
|
2858 | |
|
2
dub 22
|
6394 |