跳至内容
菜单
此问题已终结
1 回复
4376 查看

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

形象
丢弃
最佳答案

in python :

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

in xml :

<field name="image" widget='image' class="oe_avatar oe_left"  />
形象
丢弃
编写者

Thank you very much :)

相关帖文 回复 查看 活动
5
4月 19
5929
1
4月 16
4113
1
3月 15
8746
5
1月 24
16202
4
3月 15
5980