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
الرد
5053
أدوات العرض
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
نوفمبر 15
|
8290 | ||
|
|
1
أبريل 23
|
7216 | ||
|
|
3
سبتمبر 22
|
9171 | ||
|
Odoo 15| specific default date
تم الحل
|
|
1
يونيو 22
|
4266 | |
|
|
2
أبريل 22
|
8118 |