Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2475 Zobrazení

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

Avatar
Zrušit
Autor Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
dub 21
4
1
dub 21
8
1
říj 21
4928
1
kvě 21
7028
5
říj 24
12169