> As far as the parser goes, nothing special is needed by default, other than 
> it being there. Mine is this:
> 
> class Parser(report_sxw.rml_parse):
>     def __init__(self, cr, uid, name, context):
>         super(Parser, self).__init__(cr, uid, 
> name, context)
>         self.localcontext.update({
>         })
> 
> 
> I chose to have in in a python file, in case i need something special, but 
> the default value of the parser field worked for me too.


I've done pretty much the same and it doesn't seem that the parser is being 
called. I've pulled some stuff from bom_structure in the mrp module and am 
trying to do the same as:
[[ repeatIn(get_children(o.bom_lines), 'l') ]]
using a for/each:
for each="l in get_children(o.bom_lines)"
 but it looks like the parser is being ignored. 

If I switch back to using the rml report it works fine. Am I missing 
something?[/code]




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=55728#55728

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to