تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4088 أدوات العرض

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
يوليو 25
1926
3
مايو 25
3371
1
نوفمبر 24
1453
0
أغسطس 24
1513
1
فبراير 24
4971