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

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

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

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

苦新手求助



  • 模块设计是好,堆积木时候,可是在下不会英文就不好了,想请讲该如何搭建以达到演示服务器的程度,操作系统是XP SP3。还请各大侠不惜赐教。



  • 只需要安装一个模块就行了. 那就是 sale 模块.

    只要安装了它, 基本上的进销存部分, 就都会装上了.



  • 再请教楼上,作为一个生产制造企业,需要哪些模块呢?


  • 管理员

    新建帐套的时候,选Manufacturing industry profile会安装一部分生产制造用模块,然后你再按需要安装其他模块吧。建议开始还是看看老肖的 openERP应用和开发基础 http://shine-it.net/index.php/topic,756.0.html



  • 谢谢,现在已基本摸清汉化的方法和模块的安装。
    但是现在出现了问题,在新建销售订单,点击确定的时候出现错误,软件版本是官方下的5.0.15 All-in-one,
    出现如下信息:
    An unknown error has been reported.


    You do not have a valid Open ERP maintenance contract !


    If you are using Open ERP in production, it is highly suggested to subscribe
    a maintenance program.

    The Open ERP maintenance contract provides you a bugfix guarantee and an
    automatic migration system so that we can fix your problems within a few
    hours. If you had a maintenance contract, this error would have been sent
    to the quality team of the Open ERP editor.

    The maintenance program offers you:
    * Automatic migrations on new versions,
    * A bugfix guarantee,
    * Monthly announces of potential bugs and their fixes,
    * Security alerts by email and automatic migration,
    * Access to the customer portal.

    You can use the link bellow for more information. The detail of the error
    is displayed on the second tab.
                                和

    Traceback (most recent call last):
      File "netsvc.pyo", line 299, in dispatch
      File "netsvc.pyo", line 77, in call
      File "service\web_services.pyo", line 571, in exec_workflow
      File "osv\osv.pyo", line 58, in wrapper
      File "osv\osv.pyo", line 137, in exec_workflow
      File "osv\osv.pyo", line 130, in exec_workflow_cr
      File "workflow\wkf_service.pyo", line 81, in trg_validate
      File "workflow\instance.pyo", line 50, in validate
      File "workflow\workitem.pyo", line 62, in process
      File "workflow\workitem.pyo", line 175, in _split_test
      File "workflow\workitem.pyo", line 183, in _join_test
      File "workflow\workitem.pyo", line 42, in create
      File "workflow\workitem.pyo", line 62, in process
      File "workflow\workitem.pyo", line 175, in _split_test
      File "workflow\workitem.pyo", line 183, in _join_test
      File "workflow\workitem.pyo", line 42, in create
      File "workflow\workitem.pyo", line 62, in process
      File "workflow\workitem.pyo", line 175, in _split_test
      File "workflow\workitem.pyo", line 183, in _join_test
      File "workflow\workitem.pyo", line 42, in create
      File "workflow\workitem.pyo", line 54, in process
      File "workflow\workitem.pyo", line 108, in _execute
      File "workflow\wkf_expr.pyo", line 69, in execute
      File "workflow\wkf_expr.pyo", line 59, in _eval_expr
      File "tools\safe_eval.pyo", line 272, in safe_eval
      File "", line 1, in <module>
      File "osv\orm.pyo", line 168, in <lambda>
      File "E:\Program Files\OpenERP AllInOne\Server\addons\delivery\sale.py", line 42, in action_ship_create
      File "E:\Program Files\OpenERP AllInOne\Server\addons\sale_journal\sale_journal_inherit.py", line 57, in action_ship_create
      File "E:\Program Files\OpenERP AllInOne\Server\addons\sale\sale.py", line 658, in action_ship_create
      File "workflow\wkf_service.pyo", line 81, in trg_validate
      File "workflow\instance.pyo", line 50, in validate
      File "workflow\workitem.pyo", line 62, in process
      File "workflow\workitem.pyo", line 175, in _split_test
      File "workflow\workitem.pyo", line 183, in _join_test
      File "workflow\workitem.pyo", line 42, in create
      File "workflow\workitem.pyo", line 62, in process
      File "workflow\workitem.pyo", line 175, in _split_test
      File "workflow\workitem.pyo", line 183, in _join_test
      File "workflow\workitem.pyo", line 42, in create
      File "workflow\workitem.pyo", line 62, in process
      File "workflow\workitem.pyo", line 175, in _split_test
      File "workflow\workitem.pyo", line 183, in _join_test
      File "workflow\workitem.pyo", line 42, in create
      File "workflow\workitem.pyo", line 62, in process
      File "workflow\workitem.pyo", line 175, in _split_test
      File "workflow\workitem.pyo", line 183, in _join_test
      File "workflow\workitem.pyo", line 42, in create
      File "workflow\workitem.pyo", line 62, in process
      File "workflow\workitem.pyo", line 175, in _split_test
      File "workflow\workitem.pyo", line 183, in _join_test
      File "workflow\workitem.pyo", line 42, in create
      File "workflow\workitem.pyo", line 54, in process
      File "workflow\workitem.pyo", line 127, in _execute
      File "workflow\wkf_expr.pyo", line 69, in execute
      File "workflow\wkf_expr.pyo", line 59, in _eval_expr
      File "tools\safe_eval.pyo", line 272, in safe_eval
      File "", line 1, in <module>
      File "osv\orm.pyo", line 168, in <lambda>
      File "E:\Program Files\OpenERP AllInOne\Server\addons\mrp\mrp.py", line 1017, in action_produce_assign_product
      File "E:\Program Files\OpenERP AllInOne\Server\addons\mrp_operations\mrp_operations.py", line 312, in action_compute
      File "E:\Program Files\OpenERP AllInOne\Server\addons\mrp\mrp.py", line 475, in action_compute
      File "E:\Program Files\OpenERP AllInOne\Server\addons\mrp\mrp.py", line 287, in _bom_explode
    ZeroDivisionError: float divmod()


    另外在点击销售订单明细旁的switch view时有时会出现几行错误信息或者一片空白
    错误信息:Open Flash Chart
    IO ERROR
    Loading test data
    Error #2032
    External Interface is allowed  -  get-data = get_chart_graph_3011

    另外:以上是在web客户端产生的问题,在GTK客户端是点击登陆后直接关闭,密码错误不会关闭,会显示密码错误。



  • addons\mrp\mrp.py  第 287 行代码是:


                        d, m = divmod(factor, wc_use.workcenter_id.capacity_per_cycle)


    所以, 我怀疑 你的 capacity_per_cycle 值可能没有设置.


    看翻译, 应该是你 Workcenter  里, 没有配置相应的 每循环生产能力("Capacity per Cycle") .

    你仔细找找看. 然后 设置上, 估计就OK了.



  • [quote author=mrshelly link=topic=2248.msg7271#msg7271 date=1293005486]
    addons\mrp\mrp.py  第 287 行代码是:


                        d, m = divmod(factor, wc_use.workcenter_id.capacity_per_cycle)


    所以, 我怀疑 你的 capacity_per_cycle 值可能没有设置.


    看翻译, 应该是你 Workcenter  里, 没有配置相应的 每循环生产能力("Capacity per Cycle") .

    你仔细找找看. 然后 设置上, 估计就OK了.
    [/quote]

    你好,按照你所说,经过修改该这里没出现问题了,感谢。 另外请问一下这个每循环生产能力是什么意思呢?问题2,3还是一样.



  • 主要是要实现如下流程:销售和客户商谈下订单-内部审核后下计划到生产部-生产部安排生产后-系统生成物料单-库房接到单子根据库存情况报查缺到采购部,采购部采购等入库后,发放物料给生产部(有时先发放部分物料),生产过程中要增加领取物料(例如损坏等),这些要有记录,然后生产完毕后入成品库-发货-收款。