Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2424 Widoki

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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: 


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
kwi 21
4
1
kwi 21
8
1
paź 21
4886
1
maj 21
7009
5
paź 24
12142