Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2439 Переглядів

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
4899
1
трав. 21
7013
5
жовт. 24
12144