Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
9258 Widoki

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!

Awatar
Odrzuć
Najlepsza odpowiedź

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',

}

Awatar
Odrzuć
Autor Najlepsza odpowiedź

any answer, please?


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
maj 16
4503
3
lut 24
38410
3
kwi 24
2829
1
sie 22
4646
1
kwi 25
4984