I would like to extend the "Purchase Order" RML report with custom functionality. This module can be found at:
openerp\addons\purchase\report
and contains the python files:
__init__.py
order.py
purchase_report.py
request_quotation.py
I tried to add the simple function
def testme():
return "testme"
to all of the above files and to call it from order.rml but the call failed under all circumstances. Then I tried to add a new dedicated file "testme.py" into this directory and import it into all of the above mentioned files. Still no luck.
Where am I supposed to add my little function so that it is "visible" to the report template order.rml?
Thanks in advance!
↧