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

when i use

<field name="product_id" on_change="onchange_producto(product_id,  parent.partner_id)"/>

Return this error:

Error: Could not get field with name 'parent.partner_id' for onchange 'onchange_producto(product_id,  parent.partner_id)'

How must i use the "parent" class to get a partner_id field from a one2many parent??

Thanx!

الصورة الرمزية
إهمال

Could you please explain better where do you want to use that? your view and object...

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 15
3646
1
مايو 23
2434
2
مارس 23
1978
1
ديسمبر 21
18583
0
أبريل 21
2876