Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4584 Vistas

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

in python :

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

in xml :

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

Thank you very much :)

Publicaciones relacionadas Respuestas Vistas Actividad
5
abr 19
6178
1
abr 16
4348
1
mar 15
8965
5
ene 24
16518
4
mar 15
6238