Skip to Content
Menú
This question has been flagged
1 Respondre
4833 Vistes

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
Descartar
Best Answer

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
Descartar
Related Posts Respostes Vistes Activitat
1
de gen. 25
1844
2
de set. 22
9596
2
d’abr. 22
4639
0
de jul. 21
7285
1
de març 21
5021