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

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

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

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

在sales orders发货添加运费的时候出现错误提示



  • [quote]Traceback (most recent call last):
    File "netsvc.pyo", line 231, in dispatch
    File "netsvc.pyo", line 74, in call
    File "serviceweb_services.pyo", line 537, in execute
    File "serviceweb_services.pyo", line 517, in execute
    File "wizard__init
    _.pyo", line 178, in execute
    File "wizard__init__.pyo", line 74, in execute_cr
    File "d:Program FilesOpenERP AllInOneServeraddonsdeliverywizarddelivery_sale_order.py", line 76, in _delivery_set
    File "d:Program FilesOpenERP AllInOneServeraddonsdeliverydelivery.py", line 111, in get_price
    File "d:Program FilesOpenERP AllInOneServeraddonsdeliverydelivery.py", line 121, in get_price_from_picking
    File "<string>", line 1
    weight=1.0
    ^
    SyntaxError: invalid syntax
    [/quote]

    这是安装的allinone5.0.0在client上操作的时候出现的提示

    在同一个allinone的web端也一样出现这个错误



  • [quote]Traceback (most recent call last):
    File "netsvc.pyo", line 231, in dispatch
    File "netsvc.pyo", line 74, in call
    File "serviceweb_services.pyo", line 537, in execute
    File "serviceweb_services.pyo", line 517, in execute
    File "wizard__init
    _.pyo", line 178, in execute
    File "wizard__init__.pyo", line 74, in execute_cr
    File "d:Program FilesOpenERP AllInOneServeraddonsdeliverywizarddelivery_sale_order.py", line 76, in _delivery_set
    File "d:Program FilesOpenERP AllInOneServeraddonsdeliverydelivery.py", line 111, in get_price
    File "d:Program FilesOpenERP AllInOneServeraddonsdeliverydelivery.py", line 121, in get_price_from_picking
    File "<string>", line 1
    weight=1.0
    ^
    SyntaxError: invalid syntax
    [/quote]

    这是安装的allinone5.0.0在client上操作的时候出现的提示

    在同一个allinone的web端也一样出现这个错误



  • 是不是我对运费的定义有问题/



  • 语法错误呀.

    你打开那个文件,看看是什么原因引起的.

    我猜想多半是因为文件编码引起的.



  • 在一个没有安装额外模块
    只加入首重,没有加续重的运费
    这次成功了


登录后回复
 

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