Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
4851 Visninger

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
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
jan. 25
1866
2
sep. 22
9610
2
apr. 22
4662
0
jul. 21
7297
1
mar. 21
5036