跳至內容
選單
此問題已被標幟
1 回覆
4844 瀏覽次數

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
1856
2
9月 22
9599
2
4月 22
4646
0
7月 21
7291
1
3月 21
5026