Skip to Content
मेन्यू
This question has been flagged
1 Reply
4328 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
अप्रैल 19
5893
1
अप्रैल 16
4094
1
मार्च 15
8676
5
जन॰ 24
16138
4
मार्च 15
5933