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

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

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

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

Openerp 6.0.1有人用过吗,新增产品功能中有个初始库存按钮不能正常使用



  • Environment Information :
    System : Windows-XP-5.1.2600-SP3
    OS Name : nt
    Operating System Release : XP
    Operating System Version : 5.1.2600
    Operating System Architecture : 32bit
    Operating System Locale : zh_CN.cp936
    Python Version : 2.5.2
    OpenERP-Client Version : 6.0.1
    Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
      File "netsvc.pyo", line 489, in dispatch
      File "service\web_services.pyo", line 599, in dispatch
      File "osv\osv.pyo", line 122, in wrapper
      File "osv\osv.pyo", line 176, in execute
      File "osv\osv.pyo", line 167, in execute_cr
      File "C:\Program Files\OpenERP 6.0\Server\addons\stock\wizard\stock_change_product_qty.py", line 87, in change_product_qty
    UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128)



  • web端 频繁出现这个错误

    Traceback (most recent call last):
      File "netsvc.pyo", line 489, in dispatch
      File "service\web_services.pyo", line 599, in dispatch
      File "osv\osv.pyo", line 122, in wrapper
      File "osv\osv.pyo", line 176, in execute
      File "osv\osv.pyo", line 167, in execute_cr
      File "C:\Program Files\OpenERP 6.0\Server\addons\hr\hr_department.py", line 94, in read
      File "osv\orm.pyo", line 2921, in read
      File "osv\orm.pyo", line 3041, in _read_flat
      File "osv\fields.pyo", line 793, in get
      File "C:\Program Files\OpenERP 6.0\Server\addons\base\ir\ir_actions.py", line 193, in _search_view
      File "osv\orm.pyo", line 2908, in fields_get
      File "osv\orm.pyo", line 1103, in fields_get
      File "tools\misc.pyo", line 823, in cached_result
      File "C:\Program Files\OpenERP 6.0\Server\addons\base\ir\ir_translation.py", line 174, in _get_source
      File "sql_db.pyo", line 78, in wrapper
      File "sql_db.pyo", line 131, in execute
    InternalError: current transaction is aborted, commands ignored until end of transaction block



  • @igi1999@163.com  关于 6.0.1 更新当前库存的 wizard . 问题就出在 stock_change_product_qty.py 的第 87 行.

    只需要把那行换成

    <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inventory_id = inventry_obj.create(cr , uid, {&#039;name&#039;: _(&#039;INV: &#039;) + res_original.name}, context=context)<br /><br />
    


    即可.