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
4821 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
led 25
1834
2
zář 22
9594
2
dub 22
4634
0
čvc 21
7282
1
bře 21
5019