コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4820 ビュー

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.

アバター
破棄
最善の回答

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.

アバター
破棄
関連投稿 返信 ビュー 活動
1
1月 25
1834
2
9月 22
9594
2
4月 22
4634
0
7月 21
7281
1
3月 21
5019