Reputation: 8001
From the documentation, OpenERP uses rml files to display reports. These reports are generated from .sxw files. I didn't see anything about the .py files that are also included in report folders. Please what is their purpose?
Upvotes: 2
Views: 150
Reputation: 56730
Those python files in the report folders are RML parsers. They subclass the report_sxw.rml_parse
class, and add extra functions to the report's local context if you need more than the standard functions. If you search the addons
project for rml_parse
you'll find a bunch of examples.
Upvotes: 2