Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
9250 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Autor Melhor resposta

any answer, please?


Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
mai. 16
4502
3
fev. 24
38406
3
abr. 24
2827
1
ago. 22
4643
1
abr. 25
4983