تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4832 أدوات العرض

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
يناير 25
1838
2
سبتمبر 22
9595
2
أبريل 22
4636
0
يوليو 21
7283
1
مارس 21
5019