Skip to Content
Menú
This question has been flagged
1 Respondre
4279 Vistes

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
Best Answer

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 :)

Related Posts Respostes Vistes Activitat
5
d’abr. 19
5821
1
d’abr. 16
3996
1
de març 15
8599
5
de gen. 24
16071
4
de març 15
5886