How to create RML Report?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-08 08:26:27

问题


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.


回答1:


_openerp_.py

  • for rml location

_init_.py

  • for initialization of a class( import reportclass)

.py

  • for business logic of report or methods of class which will help in rml

.xml

  • for a menu display (where report menu open)

.rml

  • for your structure of a report

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

for more details Visit 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/

and for more details use Google ;-),

Hope this will help you



来源:https://stackoverflow.com/questions/17647902/how-to-create-rml-report

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!