Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4830 Visualizzazioni

Hi, I having a one2many field in that field i add 4 items using Add an Item then Save&New, before saving the record in Parent table, i want some field values. how to get this.

Avatar
Abbandona
Risposta migliore

You can override create function. The record created will be in the 'vals' param of create, then you can modify it and then call super.
Hope it helps you.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
gen 25
1838
2
set 22
9595
2
apr 22
4636
0
lug 21
7283
1
mar 21
5019