forked from Techsystech/web
[FIX] don't show export format for current view in export list
parent
6e5d769488
commit
b167c9a7ff
|
@ -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…
Reference in New Issue