[IMP] added some utils to qweb context
bzr revid: nicolas.vanhoren@openerp.com-20121026095436-3jyci78mgew9uz35
This commit is contained in:
parent
a76446b8c9
commit
d87a8c05fd
|
@ -530,7 +530,8 @@ instance.web.qweb.default_dict['__debug__'] = instance.session.debug; // Which o
|
|||
instance.web.qweb.debug = instance.session.debug;
|
||||
instance.web.qweb.default_dict = {
|
||||
'_' : _,
|
||||
'_t' : instance.web._t
|
||||
'_t' : instance.web._t,
|
||||
'JSON': JSON,
|
||||
};
|
||||
instance.web.qweb.preprocess_node = function() {
|
||||
// Note that 'this' is the Qweb Node
|
||||
|
|
Loading…
Reference in New Issue