Skip to content
  • Categories
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse

Odoo 中文社区

  1. Home
  2. Categories
  3. Odoo 开发与实施交流
  4. 请帮忙测试 Relatorio 报表 for All In One

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

Scheduled Pinned Locked Moved Odoo 开发与实施交流
15 Posts 5 Posters 10.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    oldrev
    wrote on last edited by
    #1

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

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

    1 Reply Last reply
    0
    • wjfonhandW Offline
      wjfonhandW Offline
      wjfonhand
      wrote on last edited by
      #2

      测试失败。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]]

      GoodERP -- Odoo China fork

      1 Reply Last reply
      0
      • O Offline
        O Offline
        oldrev
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • O Offline
          O Offline
          oldrev
          wrote on last edited by
          #4

          [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
          0
          • V Offline
            V Offline
            vincent
            wrote on last edited by
            #5

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

            1 Reply Last reply
            0
            • O Offline
              O Offline
              oldrev
              wrote on last edited by
              #6

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

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

              1 Reply Last reply
              0
              • wjfonhandW Offline
                wjfonhandW Offline
                wjfonhand
                wrote on last edited by
                #7

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

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

                中文可以打印,没问题。

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

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

                GoodERP -- Odoo China fork

                1 Reply Last reply
                0
                • O Offline
                  O Offline
                  oldrev
                  wrote on last edited by
                  #8

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

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mihi
                    wrote on last edited by
                    #9

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

                    1 Reply Last reply
                    0
                    • O Offline
                      O Offline
                      oldrev
                      wrote on last edited by
                      #10

                      优势:

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

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

                      1 Reply Last reply
                      0
                      • wjfonhandW Offline
                        wjfonhandW Offline
                        wjfonhand
                        wrote on last edited by
                        #11

                        [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容易接受得多。

                        GoodERP -- Odoo China fork

                        1 Reply Last reply
                        0
                        • JoshuaJ Offline
                          JoshuaJ Offline
                          Joshua 管理员
                          wrote on last edited by
                          #12

                          我照着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]

                          【上海先安科技】(joshua AT openerp.cn),欢迎关注公众号:openerp_cn

                          1 Reply Last reply
                          0
                          • O Offline
                            O Offline
                            oldrev
                            wrote on last edited by
                            #13

                            web 的问题官方解决了

                            1 Reply Last reply
                            0
                            • wjfonhandW Offline
                              wjfonhandW Offline
                              wjfonhand
                              wrote on last edited by
                              #14

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

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

                              GoodERP -- Odoo China fork

                              1 Reply Last reply
                              0

                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Tags
                              • Popular
                              • Users
                              • Groups