summaryrefslogtreecommitdiff
path: root/addons/website/controllers/main.py
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2016-09-30 12:10:48 +0200
committerJeremy Kersten <jke@odoo.com>2016-09-30 15:11:58 +0200
commit274b1dabb9d7671e7b9613ff5d3aaa89cc5ce0a4 (patch)
tree9d06a171c8e07fb884920c9ca8809f42fe76ab2e /addons/website/controllers/main.py
parent1c6bad5f86fe7ecfcc6e0dc4217b4706411b4031 (diff)
[FIX] website: reset full to False by default
Studio altered (probably by error) the default value. We reset the old default value, and by security, add the params in the call
Diffstat (limited to 'addons/website/controllers/main.py')
-rw-r--r--addons/website/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/controllers/main.py b/addons/website/controllers/main.py
index 336250f1a59..0826ac839d7 100644
--- a/addons/website/controllers/main.py
+++ b/addons/website/controllers/main.py
@@ -261,7 +261,7 @@ class Website(Home):
return request.redirect(redirect)
@http.route('/website/customize_template_get', type='json', auth='user', website=True)
- def customize_template_get(self, key, full=True, bundles=False):
+ def customize_template_get(self, key, full=False, bundles=False):
""" Get inherit view's informations of the template ``key``. By default, only
:returns ``customize_show`` templates (which can be active or not), if
``full=True`` returns inherit view's informations of the template ``key``.