Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2451 Weergaven

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

Avatar
Annuleer
Auteur Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
apr. 21
4
1
apr. 21
8
1
okt. 21
4904
1
mei 21
7017
5
okt. 24
12147