From fc0c62e411361b25de8f5498323e3a5afb46795a Mon Sep 17 00:00:00 2001 From: PabloCM Date: Thu, 5 Mar 2015 12:12:06 +0100 Subject: [PATCH] [FIX] web_export_view: Handler method renamed to avoid name collision with the original index used in the native excel export --- web_export_view/controllers/controllers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_export_view/controllers/controllers.py b/web_export_view/controllers/controllers.py index 15148edb..a38eec52 100644 --- a/web_export_view/controllers/controllers.py +++ b/web_export_view/controllers/controllers.py @@ -36,7 +36,7 @@ class ExcelExportView(ExcelExport): return super(ExcelExportView, self).__getattribute__(name) @http.route('/web/export/xls_view', type='http', auth='user') - def index(self, data, token): + def export_xls_view(self, data, token): data = json.loads(data) model = data.get('model', []) columns_headers = data.get('headers', [])