Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4566 Visualizações

hello everyone , i just created a module on openerp7 , it has a registration form and wanted to add a field where i can load the user picture .. can anyone give me any hints??

Avatar
Cancelar
Melhor resposta

in python :

 _columns = { 'image': fields.binary("Image",), }

in xml :

<field name="image" widget='image' class="oe_avatar oe_left"  />
Avatar
Cancelar
Autor

Thank you very much :)

Publicações relacionadas Respostas Visualizações Atividade
5
abr. 19
6128
1
abr. 16
4321
1
mar. 15
8903
5
jan. 24
16440
4
mar. 15
6167