[FIX] website_report: change method signature

This commit is contained in:
Christophe Simonis
2015-02-19 18:18:48 +01:00
parent 61483e1a25
commit 08f9c6d7bd
+2 -2
View File
@@ -26,8 +26,8 @@ from openerp.http import request, route
class Website(Website):
@route()
def customize_template_get(self, xml_id, full=False):
res = super(Website, self).customize_template_get(xml_id, full=full)
def customize_template_get(self, key, full=False, bundles=False):
res = super(Website, self).customize_template_get(key, full=full, bundles=bundles)
if full and request.session.get('report_view_ids'):
res += request.session['report_view_ids']
return res