Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4842 Prikazi

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
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jan. 25
1853
2
sep. 22
9599
2
apr. 22
4643
0
jul. 21
7291
1
mar. 21
5025