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

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

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

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

保存出错



  • 跟踪到的Sql:
    insert into "sale_order" (id,"check_user_id","picking_policy","order_policy","x_create_date",
    "invoice_quantity","client_order_ref","date_order","partner_id","user_id","state","check_date",
    "project_id","partner_order_id","pricelist_id","partner_invoice_id","create_user_id","name",
    "partner_shipping_id","shipped","shop_id",create_uid,create_date)
    values (14,None,None, 'direct', 'manual', '2009-12-30', 'order', None, '2009-12-30',
    2, 1, '0', None, None, 2, 1, 2, 1, '200912300018', 2, 'False', 1, 1,
    now())

    错误信息:

    Traceback (most recent call last):
    File "F:OpenERP5.0openerp-server-5.0.6binnetsvc.py", line 244, in dispatch
    result = LocalService(service_name)(method, *params)
    File "F:OpenERP5.0openerp-server-5.0.6binnetsvc.py", line 73, in call
    return getattr(self, method)(*params)
    File "F:OpenERP5.0openerp-server-5.0.6binserviceweb_services.py", line 583, in execute
    res = service.execute(db, uid, object, method, *args)
    File "F:OpenERP5.0openerp-server-5.0.6binosvosv.py", line 59, in wrapper
    return f(self, dbname, *args, **kwargs)
    File "F:OpenERP5.0openerp-server-5.0.6binosvosv.py", line 118, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
    File "F:OpenERP5.0openerp-server-5.0.6binosvosv.py", line 110, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
    File "F:OpenERP5.0openerp-server-5.0.6binaddonssalesale.py", line 371, in create
    return super(sale_order, self).create(cr, uid, vals, context=context)
    File "F:OpenERP5.0openerp-server-5.0.6binosvorm.py", line 2653, in create
    cr.execute(sql)
    File "F:OpenERP5.0openerp-server-5.0.6binsql_db.py", line 76, in wrapper
    return f(self, *args, **kwargs)
    File "F:OpenERP5.0openerp-server-5.0.6binsql_db.py", line 119, in execute
    res = self._obj.execute(query, params)
    TypeError: argument 1 must be a string or unicode object

    快搞死了,麻烦各位看看。我在window下按默认安装运行不出错,跟踪运行出错。



  • 跟踪到的Sql:
    insert into "sale_order" (id,"check_user_id","picking_policy","order_policy","x_create_date",
    "invoice_quantity","client_order_ref","date_order","partner_id","user_id","state","check_date",
    "project_id","partner_order_id","pricelist_id","partner_invoice_id","create_user_id","name",
    "partner_shipping_id","shipped","shop_id",create_uid,create_date)
    values (14,None,None, 'direct', 'manual', '2009-12-30', 'order', None, '2009-12-30',
    2, 1, '0', None, None, 2, 1, 2, 1, '200912300018', 2, 'False', 1, 1,
    now())

    错误信息:

    Traceback (most recent call last):
    File "F:OpenERP5.0openerp-server-5.0.6binnetsvc.py", line 244, in dispatch
    result = LocalService(service_name)(method, *params)
    File "F:OpenERP5.0openerp-server-5.0.6binnetsvc.py", line 73, in call
    return getattr(self, method)(*params)
    File "F:OpenERP5.0openerp-server-5.0.6binserviceweb_services.py", line 583, in execute
    res = service.execute(db, uid, object, method, *args)
    File "F:OpenERP5.0openerp-server-5.0.6binosvosv.py", line 59, in wrapper
    return f(self, dbname, *args, **kwargs)
    File "F:OpenERP5.0openerp-server-5.0.6binosvosv.py", line 118, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
    File "F:OpenERP5.0openerp-server-5.0.6binosvosv.py", line 110, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
    File "F:OpenERP5.0openerp-server-5.0.6binaddonssalesale.py", line 371, in create
    return super(sale_order, self).create(cr, uid, vals, context=context)
    File "F:OpenERP5.0openerp-server-5.0.6binosvorm.py", line 2653, in create
    cr.execute(sql)
    File "F:OpenERP5.0openerp-server-5.0.6binsql_db.py", line 76, in wrapper
    return f(self, *args, **kwargs)
    File "F:OpenERP5.0openerp-server-5.0.6binsql_db.py", line 119, in execute
    res = self._obj.execute(query, params)
    TypeError: argument 1 must be a string or unicode object

    快搞死了,麻烦各位看看。我在window下按默认安装运行不出错,跟踪运行出错。



  • openerp_server 通过安装后,运行就可以。没有安装通过在源文件处运行就出这个问题,原因未知。
    算是解决了。



  • 销售订单中有没有使用中文?


登录后回复
 

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