Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
2436 Ansichten

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

Avatar
Verwerfen
Autor Beste Antwort

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: 


Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Apr. 21
4
1
Apr. 21
8
1
Okt. 21
4888
1
Mai 21
7012
5
Okt. 24
12144