Odoo中文社区可以通过以下三个域名访问:shine-it.net , odoocn.org,odoo.net.cn

原论坛用户的基本信息和发帖这里都予以保留,请注意:原论坛用户无需重新注册新用户,但是您的密码需要重置

开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

如果您登录系统碰到问题,请在微信公众号留言:

求教关于产品多图 'bool' object has no attribute 'encode'



  • 求教大神,安装产品序列和图片模块(为了实现产品信息可录入多图),安装成功后可以录入图片,但是“保存”不了,不知如何解决。<br />另:听说8.0版本的默认就是多图?<br /><br />------------------------------------------分割线 下面是报错的信息------------------<br />OpenERP Server Error<br />Client Traceback (most recent call last):<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\web\http.py", line 204, in dispatch<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\web\controllers\main.py", line 1128, in call_kw<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\web\controllers\main.py", line 1120, in _call_kw<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\web\session.py", line 42, in proxy<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\web\session.py", line 30, in proxy_method<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\web\session.py", line 103, in send<br /><br /><br />Server Traceback (most recent call last):<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\web\session.py", line 89, in send<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\netsvc.py", line 296, in dispatch_rpc<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\service\web_services.py", line 626, in dispatch<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\osv\osv.py", line 190, in execute_kw<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\osv\osv.py", line 132, in wrapper<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\osv\osv.py", line 199, in execute<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\osv\osv.py", line 187, in execute_cr<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\product_images\product.py", line 100, in write<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\product_sequence\product_product.py", line 52, in write<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\mail\mail_thread.py", line 292, in write<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\osv\orm.py", line 4255, in write<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\osv\fields.py", line 559, in set<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\product_images\product_images.py", line 51, in create<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\osv\orm.py", line 4546, in create<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\osv\fields.py", line 1159, in set<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\product_images\product_images.py", line 160, in _set_image<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\product_images\product_images.py", line 94, in _image_path<br />AttributeError: 'bool' object has no attribute 'encode'<br /><br /><br />



  • 求教大神,安装产品序列和图片模块(为了实现产品信息可录入多图),安装成功后可以录入图片,但是“保存”不了,不知如何解决。<br />另:听说8.0版本的默认就是多图?<br /><br />------------------------------------------分割线 下面是报错的信息------------------<br />OpenERP Server Error<br />Client Traceback (most recent call last):<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\web\http.py", line 204, in dispatch<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\web\controllers\main.py", line 1128, in call_kw<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\web\controllers\main.py", line 1120, in _call_kw<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\web\session.py", line 42, in proxy<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\web\session.py", line 30, in proxy_method<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\web\session.py", line 103, in send<br /><br /><br />Server Traceback (most recent call last):<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\web\session.py", line 89, in send<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\netsvc.py", line 296, in dispatch_rpc<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\service\web_services.py", line 626, in dispatch<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\osv\osv.py", line 190, in execute_kw<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\osv\osv.py", line 132, in wrapper<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\osv\osv.py", line 199, in execute<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\osv\osv.py", line 187, in execute_cr<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\product_images\product.py", line 100, in write<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\product_sequence\product_product.py", line 52, in write<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\mail\mail_thread.py", line 292, in write<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\osv\orm.py", line 4255, in write<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\osv\fields.py", line 559, in set<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\product_images\product_images.py", line 51, in create<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\osv\orm.py", line 4546, in create<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server.\openerp\osv\fields.py", line 1159, in set<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\product_images\product_images.py", line 160, in _set_image<br />  File "E:\Program Files\OpenERP 7.0-20140429-231256\Server\server\openerp\addons\product_images\product_images.py", line 94, in _image_path<br />AttributeError: 'bool' object has no attribute 'encode'<br /><br /><br />



  • 已解决,可能是产品“内部单号”的问题,必录、不能含特殊字符


登录后回复
 

与 Odoo 中文社区 的连接断开,我们正在尝试重连,请耐心等待