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

Hello,


I have 1 many2many field, in this field i have 3 columns which is shown below.

1) Product

2) Total Qty

3) Receive Qty


When I Select the record in many2many fields and then i want to change the Receive qty but i have facing issue to editing in the record.


Error :- 

Uncaught Error: QWeb2 - template['ListView.rows']: Runtime Error: Error: QWeb2 - template['ListView.row']: Runtime Error: Error: Unknown m2m command 1


How to solve this error ?

Thanks in Advance,

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

In your xml file you can use

<field name="field_name" widget="one2many"/>

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi Jignesh, you can achieve it using widget "one2many" for your many2many field.

syntax : widget="one2many"

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Default List View from UI? แก้ไขแล้ว
2
เม.ย. 23
1895
0
มี.ค. 15
4015
2
ก.ย. 19
6388
0
ส.ค. 18
2837
0
พ.ค. 16
6459