Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
9153 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Auteur Meilleure réponse

any answer, please?


Avatar
Ignorer
Publications associées Réponses Vues Activité
1
mai 16
4383
3
févr. 24
38223
3
avr. 24
2620
1
août 22
4491
1
avr. 25
4827