Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4533 Vues

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
Ignorer
Meilleure réponse

in python :

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

in xml :

<field name="image" widget='image' class="oe_avatar oe_left"  />
Avatar
Ignorer
Auteur

Thank you very much :)

Publications associées Réponses Vues Activité
5
avr. 19
6092
1
avr. 16
4290
1
mars 15
8862
5
janv. 24
16389
4
mars 15
6129