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
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
3666
Views
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!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
4
Nov 15
|
6072 | ||
|
1
Apr 23
|
4825 | ||
|
3
Sep 22
|
6316 | ||
|
1
Jun 22
|
2792 | ||
|
2
Apr 22
|
6312 |