module use
4 posts • Page 1 of 1
module useIn documentation, you show how to put button inside openerp.
But what is the good method to do this in my module : Same parser as in other report in my .py ? Specific method to add report calculated field and pass it to report ? xml specific tag ?
Re: module useHi,
there are basically two options of adding custom parser for your report: 1. you can code/place parser directly on Report XML form. So there is no need to create module for adding just one custom report. 2. you can add report and it's parser by creating module for that. The problem is that we are not ready with manual for that part. I will look at our existing reports, and try to pick some examples. And place here, so you can experiment with them. P.S. please examine the extra functions library included with reporting engine, there are bunch of handy functions (http://kndati.lv/index.php/en/openerp/open-erp-addons/reporting-engine/80-extra-functions) for most of common cases. So there is no need to write custom parser for reusable tasks. If you see any function that is not present there, but feel like it will be usable for others too, you may request including it along with other functions. Best regards, Kaspars
Re: module useIn fact, it's beacaue i make a module which calculate TRS for workcenter.
I have to make a report with all workcenters between to date. Actually, i have a wizard which ask the 2 dates, make calculate of TRS, and print result i receive. I think i have two ways : - i keep my wizard but i must pass result to report (how with your module) - i rewrite it with osv_memory and i print report with it (if i can, i never do it)
Re: module useActually interfaces stayed the same, if I am not mistaken, there is "data" variable to receive output of wizard form...
4 posts • Page 1 of 1
|
Copyright © 2001 Alistek Ltd., ALL RIGHTS RESERVED

