[FIX] survey: solved bug in answer wizard--fix=lp:668041
bzr revid: ssi@tinyerp.com-20101103071157-80ioi8acjvp28nye
This commit is contained in:
@@ -457,7 +457,8 @@ class survey_question_wiz(osv.osv_memory):
|
||||
try:
|
||||
service = netsvc.LocalService(report_name);
|
||||
(result, format) = service.create(cr, uid, res_ids, {}, context)
|
||||
fp = open(addons.get_module_resource('survey', 'report') + file_name + '.pdf', 'wb+');
|
||||
ret_file_name = addons.get_module_resource('survey', 'report') + file_name + '.pdf'
|
||||
fp = open(ret_file_name, 'wb+');
|
||||
fp.write(result);
|
||||
fp.close();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user