Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4038 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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,

 

 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 11 15
6489
1
thg 4 23
5335
3
thg 9 22
6972
1
thg 6 22
3116
2
thg 4 22
6664