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

Hello everybody,

I am trying to install my addon but I get an error (see on the title).

The problem is that the error is not on my code but on odoo's code:

File "C:\...\server\.\openerp\models.py", line 668, in _init_function_fields

Does anyone have an idea to resolve the problem please (I am using odoo 9).

Have a good day!

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

I meet this problem when I use 2 fields.function and attribute "multi", but I just return something like that : res[item.id] = '...' ,

I must change : res[item.id] = {

     'fied1' : 'abc',

     'field2' : 'xyz',

}

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

any answer, please?


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 16
4500
3
thg 2 24
38404
3
thg 4 24
2823
1
thg 8 22
4640
1
thg 4 25
4983