openerp.web_context_tunnel=function(instance){instance.web.form.FormWidget.prototype.build_context=function(){varv_context=false;varfields_values=false;// instead of using just the attr context, we merge any attr starting with contextfor(varkeyinthis.node.attrs){if(key.substring(0,7)==="context"){if(!v_context){fields_values=this.field_manager.build_eval_context();v_context=newinstance.web.CompoundContext(this.node.attrs[key]).set_eval_context(fields_values);}else{v_context=newinstance.web.CompoundContext(this.node.attrs[key],v_context).set_eval_context(fields_values);}}}if(!v_context){v_context=(this.field||{}).context||{};v_context=newinstance.web.CompoundContext(v_context);}returnv_context;};};