跳至內容
選單
此問題已被標幟
1 回覆
4524 瀏覽次數

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
6065
1
4月 16
4275
1
3月 15
8844
5
1月 24
16361
4
3月 15
6109