Skip to Content
Menu
This question has been flagged
1 Atsakyti
4523 Rodiniai

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??

Portretas
Atmesti
Best Answer

in python :

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

in xml :

<field name="image" widget='image' class="oe_avatar oe_left"  />
Portretas
Atmesti
Autorius

Thank you very much :)

Related Posts Replies Rodiniai Veikla
5
bal. 19
6065
1
bal. 16
4275
1
kov. 15
8844
5
saus. 24
16361
4
kov. 15
6109