Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
8946 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Autor Mejor respuesta

any answer, please?


Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
may 16
4124
3
feb 24
37710
3
abr 24
2086
1
ago 22
4216
1
abr 25
4407