跳至内容
菜单
此问题已终结
2 回复
4129 查看

Hello,

I am trying to learn to produce a custom module with an RML report. I see that many of the modules that come with OpenERP V7 produce RML reports, but they look super complex with lots of dependencies, and classes, etc in order for me to try to learn from them at this stage.

I followed many tutorials but still for some reason I am not able to produce a good RML report so I think that if I can "see" a working module that produces an RML report by itself then I might learn from it.

Anyone know of any simple module that outputs and RML report?

Any links + suggestions will be deeply appreciated. Thanks in advance

形象
丢弃
最佳答案

For me hr_attendance_error.rml and .py where the easiest ones and based on them I could create my own reports.

http://bazaar.launchpad.net/~openerp/openobject-addons/saas-1/files/head:/hr_attendance/report/

Start by reading .py file and then look at .rml file and find connections between those two.

形象
丢弃
最佳答案

First install the OpenOffice Report Designer which is a module included in openerp.

Once you learn how to create and upload a report to an existing module it should be very simple to fill in the blanks for integrating that into your own module.

形象
丢弃
编写者

Hi! thanks, I already installed the module and I already able to create a "static" report. But I get a corrupted file when adding dynamic elements to the RML that is why I am looking for the source code of a working module with dynamic cotent to learn from it.

相关帖文 回复 查看 活动
3
7月 25
2011
3
5月 25
3510
1
11月 24
1534
0
8月 24
1585
1
2月 24
5130