如何创建RML报告? [英] How to create RML Report?

查看:89
本文介绍了如何创建RML报告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将使用我的模块(自定义分析帐户模块)创建报告. 我听说RML是生成报告的最简单方法.

I'm going to create reports using my module (custom analytic account module). I heard that RML is the easiest way to generate reports.

请给我所需的文件列表以创建报告. 例如:-

Please give me the required files list to create reports. ex:-

__openerp__.py
__init__.py

------需要创建什么其他文件

------what are the other files need to create

当您提及示例模块(购买/库存)并从中给我文件名时,这很容易, 然后我可以浏览它们,并使用它们为我的模块创建自己的报告.

It's easy when you mention sample module (purchase/stock) and give me file names from that, then I can browse them and by the use of that create my own reports for my modules.

推荐答案

_ openerp _.py

_openerp_.py

  • rml位置

_ init _.py

_init_.py

  • 用于初始化类(导入报告类)

.py

  • 用于报表的业务逻辑或将有助于rml的类方法

.xml

  • 用于菜单显示(在其中打开报告菜单)

.rml

  • 针对您的报告结构

我与Libreoffice Writer一起使用,与rml相比,与LibreOffice Writer相比,rml可以提供更好的格式和准确的间距.

I working with Libreoffice Writer, compare to rml, rml gives better format and accurate spacing compare to LibreOffice Writer.

有关更多详细信息,请访问 https://doc.openerp.com/v6.1 /developer/05_reports/

for more details Visit https://doc.openerp.com/v6.1/developer/05_reports/

和在LibreOffice Writer中配置报告请访问 https://doc.openerp. com/v6.1/developer/05_reports/

and configuration of a report in LibreOffice Writer Visit https://doc.openerp.com/v6.1/developer/05_reports/

,有关更多详细信息,请使用Google ;-),

and for more details use Google ;-),

希望这对您有帮助

这篇关于如何创建RML报告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆