Skip to Content
Menu
This question has been flagged
1 Atsakyti
4825 Rodiniai

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.

Portretas
Atmesti
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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
saus. 25
1836
2
rugs. 22
9594
2
bal. 22
4636
0
liep. 21
7283
1
kov. 21
5019