请帮忙测试 Relatorio 报表 for All In One
-
[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 报表,没装看不了 -
web 报错是 web 的八哥:https://bugs.launchpad.net/openobject-client-web/+bug/498180
[[i] 本帖最后由 oldrev 于 2010-1-9 01:04 编辑 [/i]]
-
[quote]原帖由 [i]oldrev[/i] 于 2010-1-9 21:27 发表 www.shine-it.net/redirect.php?goto=findpost&pid=3552&ptid=785
优势:- 没有RML/PDF报表存在的字体问题,想用什么字体都可以
- 支持 OpenOffice Calc 电子表格格式报表
- 生成速度快资源消耗少
- 直接可以用 OpenOffice 设计报表了
缺点:
每个客户端均需要安装 Op ... [/quote]优势是弥补了OpenERP报表设计和展现的缺点。
至于缺点嘛,oOO虽好确实太大了,不过这也是推广oOO的一个好方法。不过还是希望没有装oOO的朋友帮忙测试一下这个软件
visioo-writer.tuxfamily.org/EN/index_3.html 开源的哦,主要看一下他是不是支持中文。
只有不到4M,对于客户端来说,如果好用,比强制客户装150M的openOffice容易接受得多。
-
我照着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]
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login