Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
2435 Näkymät

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

Avatar
Hylkää
Tekijä Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
huhtik. 21
4
1
huhtik. 21
8
1
lokak. 21
4887
1
toukok. 21
7011
5
lokak. 24
12143