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

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,

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

In your xml file you can use

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

syntax : widget="one2many"

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 4 23
1853
0
thg 3 15
3967
2
thg 9 19
6366
0
thg 8 18
2817
0
thg 5 16
6412