Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
4133 Tampilan

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

Avatar
Buang
Jawaban Terbai

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.

Avatar
Buang
Jawaban Terbai

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.

Avatar
Buang
Penulis

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.

Post Terkait Replies Tampilan Aktivitas
3
Jul 25
2018
3
Mei 25
3517
1
Nov 24
1545
0
Agu 24
1592
1
Feb 24
5157