Browse Source

[FIX] don't show export format for current view in export list

pull/1269/head
Holger Brunn 11 years ago
committed by ernesto
parent
commit
b02dba9a76
  1. 5
      web_export_view/controllers.py

5
web_export_view/controllers.py

@ -31,6 +31,11 @@ from web.controllers.main import ExcelExport
class ExcelExportView(ExcelExport):
_cp_path = '/web/export/xls_view'
def __getattribute__(self, name):
if name == 'fmt':
raise AttributeError()
return super(ExcelExportView, self).__getattribute__(name)
@openerpweb.httprequest
def index(self, req, data, token):
data = json.loads(data)

Loading…
Cancel
Save