Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4288 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
5827
1
abr 16
4004
1
mar 15
8614
5
ene 24
16078
4
mar 15
5902