Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3879 Представления

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,

 

 

Аватар
Отменить
Related Posts Ответы Просмотры Активность
4
нояб. 15
6258
1
апр. 23
5130
3
сент. 22
6748
1
июн. 22
2971
2
апр. 22
6524