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