跳至內容
選單
此問題已被標幟
2 回覆
4215 瀏覽次數

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
2151
3
5月 25
3755
1
11月 24
1710
0
8月 24
1685
1
2月 24
5476