How can I use the python function "filter" to filter out lines in an RML report containing specific words or characters?
In my case, I would like to filter out from Invoice and Picking reports, lines containing the character ">" (this character is applied by the product_pack module to the "Children" product lines of a "Product Pack" )
This is an example of the function that appears in OpenERP's manual:
repeatIn(filter( lambda l: l.product_id.type=='service' ,o.invoice_line), 'line')
care to past the code here?
sorry, I didn't see your comment till now, I already received the answer below, but thanks anyway!