Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4310 Zobrazení

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šit
Nejlepší odpověď

in python :

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

in xml :

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

Thank you very much :)

Related Posts Odpovědi Zobrazení Aktivita
5
dub 19
5839
1
dub 16
4022
1
bře 15
8630
5
led 24
16098
4
bře 15
5913