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

How to set a context for a field in a O2M through Studio

Аватар
Отменить
Автор Лучший ответ

If you want to set a context for a field of another model via a O2M, you have the possibility to set the context directly on this O2M and not in the related model. 

An example would be to auto-fill the partner_id field of the timesheets (timesheet_ids) on a ticket. You can open Studio, select the timesheet_ids field and directly add the default value for the partner_id in the context of this field: 


Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
апр. 21
4
1
апр. 21
8
1
окт. 21
4883
1
мая 21
7009
5
окт. 24
12139