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..
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
5065
มุมมอง
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,
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
|
4
พ.ย. 15
|
8298 | ||
|
|
1
เม.ย. 23
|
7227 | ||
|
|
3
ก.ย. 22
|
9181 | ||
|
Odoo 15| specific default date
แก้ไขแล้ว
|
|
1
มิ.ย. 22
|
4276 | |
|
|
2
เม.ย. 22
|
8125 |