Skip to Content
Menu
This question has been flagged
1 Reply
4251 Views

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

in python :

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

in xml :

<field name="image" widget='image' class="oe_avatar oe_left"  />
Avatar
Discard
Author

Thank you very much :)

Related Posts Replies Views Activity
5
Apr 19
5793
1
Apr 16
3981
1
Mar 15
8571
5
Jan 24
16026
4
Mar 15
5816