Navigation

    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账号

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

    请帮忙测试 Relatorio 报表 for All In One

    Odoo 开发与实施交流
    5
    15
    9251
    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.
    • O
      oldrev last edited by

      使用方法:下载附件并将其中的两个目录解压到 openerp 的 addons 目录中,更新模块列表并安装此二模块即可。relatorio_report 已经自带了所有的依赖,All in one 用户也无需安装任何其他 Python 库。

      当装好此二模块以后,请打开任意业务伙伴的表单,右侧将出现 “ODT Partner 按钮”,单击即可出现测试报表。

      1 Reply Last reply Reply Quote 0
      • wjfonhand
        wjfonhand last edited by

        测试失败。winxp上的all in one 5.0.6 中文模块未安装

        web上报<type 'exceptions.KeyError'>: u'odt'
        args = (u'odt',)
        message = u'odt'
        错误

        client上点击 odt report按钮无反应。log里的错误是 “不能处理ODT文件类型”。

        我没装openoffice,不知道是不是一定要装...

        [[i] 本帖最后由 wjfonhand 于 2010-1-8 23:17 编辑 [/i]]

        1 Reply Last reply Reply Quote 0
        • O
          oldrev last edited by

          上传了 n 次才成功
          openerp-community-addons.googlecode.com/files/relatorio_demo.7z

          1 Reply Last reply Reply Quote 0
          • O
            oldrev last edited by

            [quote]原帖由 [i]wjfonhand[/i] 于 2010-1-8 23:15 发表 www.shine-it.net/redirect.php?goto=findpost&pid=3542&ptid=785
            测试失败。winxp上的all in one 5.0.6 中文模块未安装

            web上报: u'odt'
            args = (u'odt',)
            message = u'odt'
            错误

            client上点击 odt report按钮无反应。log里的错误是 “不能处理ODT文件类型 ... [/quote]
            这个本来就是 OpenOffice 报表,没装看不了

            1 Reply Last reply Reply Quote 0
            • V
              vincent last edited by

              Windows xp下在OpenERP 5.0.6下安装后 测试通过,学习学习

              1 Reply Last reply Reply Quote 0
              • O
                oldrev last edited by

                web 报错是 web 的八哥:https://bugs.launchpad.net/openobject-client-web/+bug/498180

                [[i] 本帖最后由 oldrev 于 2010-1-9 01:04 编辑 [/i]]

                1 Reply Last reply Reply Quote 0
                • wjfonhand
                  wjfonhand last edited by

                  服务器端装了openoffice 3.1,在服务器上的client上运行正常,会打开writer显示报表。

                  客户机上有IBM Symphony,也可以打开。Web还是不行,看来确实是Bug。

                  中文可以打印,没问题。

                  另外,这个报表好像是自定义的格式,不是系统标准的(业务伙伴标签打印)。每张报表都要改么,怎么改,是否有教程?

                  呵呵,谢谢老革命的辛勤努力!

                  1 Reply Last reply Reply Quote 0
                  • O
                    oldrev last edited by

                    简介:
                    relatorio.openhex.org/wiki/IndepthIntroduction

                    1 Reply Last reply Reply Quote 0
                    • M
                      mihi last edited by

                      这个报表模块有什么优势?

                      1 Reply Last reply Reply Quote 0
                      • O
                        oldrev last edited by

                        优势:

                        1. 没有RML/PDF报表存在的字体问题,想用什么字体都可以
                        2. 支持 OpenOffice Calc 电子表格格式报表
                        3. 生成速度快资源消耗少
                        4. 直接可以用 OpenOffice 设计报表了

                        缺点:
                        每个客户端均需要安装 OpenOffice

                        1 Reply Last reply Reply Quote 0
                        • wjfonhand
                          wjfonhand last edited by

                          [quote]原帖由 [i]oldrev[/i] 于 2010-1-9 21:27 发表 www.shine-it.net/redirect.php?goto=findpost&pid=3552&ptid=785
                          优势:

                          1. 没有RML/PDF报表存在的字体问题,想用什么字体都可以
                          2. 支持 OpenOffice Calc 电子表格格式报表
                          3. 生成速度快资源消耗少
                          4. 直接可以用 OpenOffice 设计报表了

                          缺点:
                          每个客户端均需要安装 Op ... [/quote]

                          优势是弥补了OpenERP报表设计和展现的缺点。

                          至于缺点嘛,oOO虽好确实太大了,不过这也是推广oOO的一个好方法。不过还是希望没有装oOO的朋友帮忙测试一下这个软件

                          visioo-writer.tuxfamily.org/EN/index_3.html 开源的哦,主要看一下他是不是支持中文。

                          只有不到4M,对于客户端来说,如果好用,比强制客户装150M的openOffice容易接受得多。

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

                            我照着report_relatorio_demo做了一下,不过生成报表的时候出现同一个错误
                            [code]Environment Information :
                            System : Windows-XP-5.1.2600-SP2
                            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 : 5.0.6
                            Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
                            File "serviceweb_services.pyo", line 686, in go
                            File "netsvc.pyo", line 66, in init
                            KeyError: u'report.ems.customer.odt'
                            [/code]

                            [b]esm_customer_card.py[/b]
                            [code]
                            from report import report_sxw
                            import time
                            class customer_card(report_sxw.rml_parse):
                            def __init(self, cr, uid, name, context):
                            super(customer_card, self).init(cr, uid, name, context)
                            self.localcontext.update({
                            'time': time,
                            })
                            report_sxw.report_sxw('report.ems.customer.odt', 'ems.customer', 'addons/ems/report/ems_customer_card.odt', parser=customer_card)
                            [/code]
                            [b]ems_customer_report.xml[/b]
                            [code]
                            <?xml version="1.0"?>
                            <openerp>
                            <data>
                            <report auto="False" id="odt_customer_card" model="ems.customer" name="ems.customer.odt" rml="ems/report/ems_customer_card.odt" string="Customer Card ODT Report"/>
                            <record id="odt_customer_card" model="ir.actions.report.xml">
                            <field name="report_type">odt</field>
                            </record>
                            </data>
                            </openerp>

                            [/code]

                            1 Reply Last reply Reply Quote 0
                            • O
                              oldrev last edited by

                              web 的问题官方解决了

                              1 Reply Last reply Reply Quote 0
                              • wjfonhand
                                wjfonhand last edited by

                                hornerp2.0用这个模块为基础开发了财务模块打印程序,要实现i18n的时候碰到了问题。由于翻译导出向导无法按rml格式解析odt文件,整个模块无法导出po文件。

                                提醒后来者注意这个问题。

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