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

ValueError: dictionary update sequence element #0 has length 1; 2 is required

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

If this error has occured whene your try to import custom module that contains model inheritance, then you muste 

make sure in that in module __openerp__.py file you have the right dependencies list.

EXEMPLE:

# any module necessary for this one to work correctly

'depends': ['crm', 'sales', 'x_vehicle'],

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
7
thg 8 19
5806
5
thg 12 23
19368
1
thg 4 25
990
1
thg 12 23
1662
0
thg 11 23
1763