Browse Source

[FIX] remove print statement

pull/2/head
Cristian Salamea 12 years ago
parent
commit
ada82c731f
  1. 2
      web_export_view/controllers.py

2
web_export_view/controllers.py

@ -74,7 +74,7 @@ class ExcelExportView(ExcelExport):
Model = req.session.model('res.lang') Model = req.session.model('res.lang')
ids = Model.search([['code','=',lang]]) ids = Model.search([['code','=',lang]])
record = Model.read(ids, ['decimal_point','thousands_sep']) record = Model.read(ids, ['decimal_point','thousands_sep'])
print record[0]
return req.make_response(self.from_data(columns_headers, rows, record[0]), return req.make_response(self.from_data(columns_headers, rows, record[0]),
headers=[('Content-Disposition', 'attachment; filename="%s"' % self.filename(model)), headers=[('Content-Disposition', 'attachment; filename="%s"' % self.filename(model)),
('Content-Type', self.content_type)], ('Content-Type', self.content_type)],

Loading…
Cancel
Save