[Add]: Add Unwanted changes

bzr revid: aja@tinyerp.com-20120912111943-3p8tsawxqr9xtn9a
This commit is contained in:
ajay javiya (OpenERP)
2012-09-12 16:49:43 +05:30
parent 5a9c2544ef
commit f9f78f75f0
+2 -1
View File
@@ -1937,7 +1937,8 @@ class Reports(View):
# maybe we should take of what characters can appear in a file name?
('Content-Disposition', 'attachment; filename="%s.%s"' % (file_name, report_struct['format'])),
('Content-Type', report_mimetype),
('Content-Length', len(report))],)
('Content-Length', len(report))],
cookies={'fileToken': int(token)})
@openerpweb.httprequest
def print_workflow(self, req, action, token):