[ADD] Added 'instance' in kanban box qweb redering context

bzr revid: fme@openerp.com-20121219163939-5l0pdjphzeaog9ko
This commit is contained in:
Fabien Meghazi 2012-12-19 17:39:39 +01:00
parent 5b902feba3
commit 068e93a887
1 changed files with 1 additions and 0 deletions

View File

@ -793,6 +793,7 @@ instance.web_kanban.KanbanRecord = instance.web.Widget.extend({
},
renderElement: function() {
this.qweb_context = {
instance: instance,
record: this.record,
widget: this,
read_only_mode: this.view.options.read_only_mode,