Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4109 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Autor

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.

Publicaciones relacionadas Respuestas Vistas Actividad
3
jul 25
1972
3
may 25
3440
1
nov 24
1500
0
ago 24
1549
1
feb 24
5066