mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] don't show export format for current view in export list
This commit is contained in:
committed by
Pedro M. Baeza
parent
d7276a4739
commit
bf5b02d5a2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user