[IMP] Kanban: set appropriate debug property on qweb instance

bzr revid: fme@openerp.com-20111024085554-ya7vpm2gpqqi5shj
This commit is contained in:
Fabien Meghazi 2011-10-24 10:55:54 +02:00
parent ec18460aa3
commit 66c0054a51
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ openerp.web_kanban.KanbanView = openerp.web.View.extend({
this.all_display_data = false;
this.groups = [];
this.qweb = new QWeb2.Engine();
this.qweb.debug = (window.location.search.indexOf('?debug') !== -1);
this.aggregates = {};
this.NO_OF_COLUMNS = 3;
this.form_dialog = new openerp.web.FormDialog(this, {}, this.options.action_views_ids.form, dataset).start();