Browse Source

Merge pull request #94 from pablocm-aserti/8.0

[FIX] web_export_view: Handler method renamed to avoid name collision with the original index used in the native excel export
pull/98/head
Sylvain LE GAL 10 years ago
parent
commit
56697a1cee
  1. 2
      web_export_view/controllers/controllers.py

2
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', [])

Loading…
Cancel
Save