コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4054 ビュー

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..

アバター
破棄
最善の回答

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
6503
1
4月 23
5349
3
9月 22
6988
1
6月 22
3132
2
4月 22
6672