Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4836 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
tammik. 25
1845
2
syysk. 22
9596
2
huhtik. 22
4639
0
heinäk. 21
7285
1
maalisk. 21
5021