Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3297 Lượt xem

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!

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
3651
1
thg 5 23
2438
2
thg 3 23
1994
1
thg 12 21
18584
0
thg 4 21
2876