有了解odoo 8.0应用开发的朋友,一起开发一个小项目,请联系我 QQ 379472530
L
luoguizhou
@luoguizhou
-
小型企业ERP定制 -
关于附件功能的实现
1-字段定义
# 图纸ֽ
'picture_icon': fields.binary('Picture Icon', help='the picture of which the customer give'),
# 图纸名
'filename': fields.char('Picture File'),
2-视图定义
<field name="filename" invisible="1"/>
<field name="picture_icon" filename="filename"/> -
Pycharm debug odoo8.0 错误Connected to pydev debugger (build 135.1057)
/usr/bin/python2.7 /home/lgz/Documents/JetBrains_PyCharm_Professional_3.4.1_Build_135.1057_Linux/pycharm-3.4.1/helpers/pydev/pydevd.py --multiproc --client 127.0.0.1 --port 50514 --file /home/lgz/odoo/openerp-server /home/lgz/odoo-config/openerp-server.conf
pydev debugger: process 2390 is connecting
Process finished with exit code 137