Skip to Content
Menu
This question has been flagged
1 Odpoveď
4514 Zobrazenia

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
Zrušiť
Best Answer

in python :

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

in xml :

<field name="image" widget='image' class="oe_avatar oe_left"  />
Avatar
Zrušiť
Autor

Thank you very much :)

Related Posts Replies Zobrazenia Aktivita
5
apr 19
6054
1
apr 16
4272
1
mar 15
8840
5
jan 24
16355
4
mar 15
6105