Browse Source

Fix lp:1302500 by evaluating an empty context to avoid error

pull/2/head
Yannick Vaucher 10 years ago
committed by Guewen Baconnier
parent
commit
91db4d03f9
  1. 1
      web_context_tunnel/static/src/js/context_tunnel.js

1
web_context_tunnel/static/src/js/context_tunnel.js

@ -17,6 +17,7 @@ openerp.web_context_tunnel = function(instance) {
}
if (!v_context) {
v_context = (this.field || {}).context || {};
v_context = new instance.web.CompoundContext(v_context);
}
return v_context;
};

Loading…
Cancel
Save