Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
9263 Visualizzazioni

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!

Avatar
Abbandona
Risposta migliore

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

}

Avatar
Abbandona
Autore Risposta migliore

any answer, please?


Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mag 16
4506
3
feb 24
38416
3
apr 24
2832
1
ago 22
4651
1
apr 25
4996