I still got the same problem. I just downloaded the latest 6.0.2 but I am not sure what files were changed to make this work.
I use winmerge to compare between the print_instance.py on both current copy and new copy. It is identical. can you tell me what was changed to make this work? like which files, so i can do a comparison and apply to my current openerp v6 (which i installed via all-in-one bundle on windows). Any help? Thanks. -- You received this bug notification because you are a member of C2C OERPScenario, which is subscribed to the OpenERP Project Group. https://bugs.launchpad.net/bugs/701058 Title: error when printing subworkflow of purchase order Status in OpenERP Server: Fix Released Bug description: Create a purchase order then try to print the subworkflow: [2011-01-10 16:09:24,083][s5] ERROR:workflow:[01]: Exception in call: Traceback (most recent call last): [2011-01-10 16:09:24,083][s5] ERROR:workflow:[02]: File "/home/nel/openerp/trunk_server/bin/addons/base/ir/workflow/print_instance.py", line 154, in __init__ [2011-01-10 16:09:24,083][s5] ERROR:workflow:[03]: graph_instance_get(cr, graph, inst_id, data.get('nested', False)) [2011-01-10 16:09:24,083][s5] ERROR:workflow:[04]: File "/home/nel/openerp/trunk_server/bin/addons/base/ir/workflow/print_instance.py", line 107, in graph_instance_get [2011-01-10 16:09:24,083][s5] ERROR:workflow:[05]: graph_get(cr, graph, [x[0] for x in inst], nested, workitem_get(inst_id)) [2011-01-10 16:09:24,083][s5] ERROR:workflow:[06]: File "/home/nel/openerp/trunk_server/bin/addons/base/ir/workflow/print_instance.py", line 41, in graph_get [2011-01-10 16:09:24,083][s5] ERROR:workflow:[07]: (s1,s2) = graph_get(cr, graph2, n['subflow_id'], nested,workitem) [2011-01-10 16:09:24,084][s5] ERROR:workflow:[08]: File "/home/nel/openerp/trunk_server/bin/addons/base/ir/workflow/print_instance.py", line 30, in graph_get [2011-01-10 16:09:24,084][s5] ERROR:workflow:[09]: cr.execute('select * from wkf_activity where wkf_id in ('+','.join(['%s']*len(wkf_ids))+')', wkf_ids) [2011-01-10 16:09:24,084][s5] ERROR:workflow:[10]: TypeError: object of type 'int' has no len() _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

