Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4824 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ม.ค. 25
1836
2
ก.ย. 22
9594
2
เม.ย. 22
4636
0
ก.ค. 21
7283
1
มี.ค. 21
5019