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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
4060
瀏覽次數
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,
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
4
11月 15
|
6517 | ||
|
1
4月 23
|
5359 | ||
|
3
9月 22
|
7023 | ||
|
1
6月 22
|
3159 | ||
|
2
4月 22
|
6678 |