Odoo 中文社区

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Popular
    • Users
    • Groups

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

    由于系统升迁的原因,本论坛部分较早期的内容存在格式和链接损坏失效的问题,并非本论坛系统本身的缺陷,望谅解

    本社区没有维护任何QQ群讨论组,任何与本社区同名的QQ群讨论组的言论与本社区无关!

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

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

    如何打印工作流图表

    Odoo 开发与实施交流
    3
    34
    35482
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • digitalsatori
      digitalsatori 管理员 last edited by

      当在进行流程操作时,你想知道整个流程的工作流情况,以及当前单据所处的工作流节点,可以使用打印工作流图表的方法。比如打开一张现有的销售订单,查看一下这张订单在整个流程处理中已经到了什么样的阶段。

      点击“插件”-“运行插件”-“打印工作流”,即可得到类似下图的图表。图中可以看出该销售订单正等待货运确认和付款。

      [[i] 本帖最后由 digitalsatori 于 2008-1-3 11:04 编辑 [/i]]

      【上海先安科技】(tony AT openerp.cn)

      1 Reply Last reply Reply Quote 0
      • ?
        Guest last edited by

        你好,这个图0。3里也支持么?

        1 Reply Last reply Reply Quote 0
        • digitalsatori
          digitalsatori 管理员 last edited by

          试试不就知道了吗

          【上海先安科技】(tony AT openerp.cn)

          1 Reply Last reply Reply Quote 0
          • T
            tianciyx last edited by

            运行后提示错误的报表,如下图所示:

            1 Reply Last reply Reply Quote 0
            • digitalsatori
              digitalsatori 管理员 last edited by

              非常对不起大家,我的测试还是不够仔细。是因为Tiny对路径中空格的解析的问题。我将尽快修改0.3发布包。对已经下载了0.3的朋友请使用如下办法:
              将Tiny ERP Client路径下的includes下的两个文件夹拷贝到根目录下变成比如:
              d:graphviz
              d:gs

              然后右击“我的电脑”-“属性”-“高级”-“环境变量”,在系统环境变量的Path中添加:[code]
              D:graphvizbin;D:gsgs8.51bin;D:gsgs8.51lib[/code]
              重启电脑

              [[i] 本帖最后由 digitalsatori 于 2008-1-5 13:44 编辑 [/i]]

              【上海先安科技】(tony AT openerp.cn)

              1 Reply Last reply Reply Quote 0
              • T
                tianciyx last edited by

                可以调出pdf阅读软件,但仍不能生成图形,察看tinyerp-client.exe.log中有如下提示:
                WindowsError: [Error 1155] : 'c:\docume~1\admini~1\locals~1\temp\tinyerp_s5isj9.pdf'
                Traceback (most recent call last):
                File "widgetviewform_gtkmany2one.pyo", line 241, in sig_activate
                AttributeError: 'NoneType' object has no attribute 'get'

                1 Reply Last reply Reply Quote 0
                • digitalsatori
                  digitalsatori 管理员 last edited by

                  是不是没有把V0.3生成的用户环境变量path中对ghostscript,graphviz的路径删除。删除后重启电脑试试。

                  【上海先安科技】(tony AT openerp.cn)

                  1 Reply Last reply Reply Quote 0
                  • T
                    tianciyx last edited by

                    仍然不能生成图形,只是一个空白的pdf文件,是否在生成时要连接Internet

                    1 Reply Last reply Reply Quote 0
                    • digitalsatori
                      digitalsatori 管理员 last edited by

                      请将路径定义在系统环境变量中,而非用户环境变量中。与是否连接internet无关。

                      【上海先安科技】(tony AT openerp.cn)

                      1 Reply Last reply Reply Quote 0
                      • digitalsatori
                        digitalsatori 管理员 last edited by

                        该问题已在V0.31中解决,安装程序正在上传中。

                        【上海先安科技】(tony AT openerp.cn)

                        1 Reply Last reply Reply Quote 0
                        • T
                          tianciyx last edited by

                          确实是在系统变量中定义的路径,那就等V0.31吧

                          1 Reply Last reply Reply Quote 0
                          • digitalsatori
                            digitalsatori 管理员 last edited by

                            V0.31已可以下载。需重启电脑,以使打印工作流图表功能启用。

                            【上海先安科技】(tony AT openerp.cn)

                            1 Reply Last reply Reply Quote 0
                            • T
                              tianciyx last edited by

                              没办法了,仍然是Error no report

                              1 Reply Last reply Reply Quote 0
                              • digitalsatori
                                digitalsatori 管理员 last edited by

                                有点奇怪,好象不只是你有这样的问题,请告诉我你用的是什么操作系统,pdf用什么软件打开?

                                【上海先安科技】(tony AT openerp.cn)

                                1 Reply Last reply Reply Quote 0
                                • ?
                                  Guest last edited by

                                  好象还不好用袄。我的是XP系统,PDF打开用的是Adobe Reader 8

                                  1 Reply Last reply Reply Quote 0
                                  • digitalsatori
                                    digitalsatori 管理员 last edited by

                                    终于找到原因了!
                                    非常感谢tianciyx ,ooop同学的认真测试和反馈。
                                    先解释一下为什么我的测试系统能通过。
                                    首先,V0.31只是解决了graphviz在带空格路径下的问题,而没有真正解决Ghostscript的打印pdf格式文件的问题。因为我的两个系统都装了CTex, 而CTex在系统中注册了使用Ghostscript的环境变量,所以我的系统实际上在Ctex下的Ghostscript.
                                    解决办法:
                                    添加GS_DLL和GS_LIB系统环境变量如下:
                                    [code]
                                    GS_DLL
                                    Tiny Client安装路径includesgsgs8.51bingsdll32.dll

                                    GS_LIB

                                    Tiny Client安装路径includesgsgs8.51lib;Tiny Client安装路径includesgsfonts;Tiny Client安装路径includesgsgs8.51Resource

                                    [/code]

                                    【上海先安科技】(tony AT openerp.cn)

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      tianciyx last edited by

                                      我的是xp雨木林风专业版,adobe reader8,也试过FoxitReader,仍不行,对了,我的客户端和服务器端装在同一台机器上,有无影响?

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tianciyx last edited by

                                        还是error no report,系统环境变量设置如下:
                                        %SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;D:Tiny_ERP4.2.1Tiny ERP Clientincludesgraphvizbin;D:Tiny_ERP4.2.1Tiny ERP Clientincludesgsgs8.51bin;D:Tiny_ERP4.2.1Tiny ERP Clientincludesgsgs8.51bingsdll32.dll;D:Tiny_ERP4.2.1Tiny ERP Clientincludesgsgs8.51lib;D:Tiny_ERP4.2.1Tiny ERP Clientincludesgsfonts;D:Tiny_ERP4.2.1Tiny ERP Clientincludesgsgs8.51Resource

                                        tinyerp-client.exe.log日志如下:
                                        Traceback (most recent call last):
                                        File "modulesguimain.pyo", line 840, in sig_plugin_execute
                                        File "plugins__init__.pyo", line 24, in execute
                                        File "pluginsworkflow_print__init__.pyo", line 13, in wkf_print_simple
                                        File "modulesactionmain.pyo", line 69, in exec_report
                                        File "printerprinter.pyo", line 158, in print_data
                                        KeyError: 'result'

                                        1 Reply Last reply Reply Quote 0
                                        • digitalsatori
                                          digitalsatori 管理员 last edited by

                                          设置环境变量如图:

                                          【上海先安科技】(tony AT openerp.cn)

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post