Hello,

As you said that 
[ time.strftime('%d/%m/%Y %H:%M:%S', time.strptime(o.date_finnished, '%Y-%m-%d 
%H:%M:%S')) ]]

Will print out the same exact formula on the report for each row where 
date_finnished field is NULL. 

This is because it will raise this error
    time data did not match format:  data=" "  fmt=%Y-%m-%d %H:%M:%S
because of the error you get the same format printed.

what you need is to have like this :
[ time.strftime('%d/%m/%Y %H:%M:%S', time.strptime(o.date_finnished, '%Y-%m-%d 
%H:%M:%S'))  or removeparentNode('para') ]]
if o.date_finished is Null it will remove the parent.

------------------------
Regards,
Naresh Choksy




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

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

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


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

Reply via email to