Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4354 Prikazi

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

in python :

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

in xml :

<field name="image" widget='image' class="oe_avatar oe_left"  />
Avatar
Opusti
Avtor

Thank you very much :)

Related Posts Odgovori Prikazi Aktivnost
5
apr. 19
5913
1
apr. 16
4103
1
mar. 15
8725
5
jan. 24
16164
4
mar. 15
5957