[FIX] merge user context into search popup's context

fixes #175, #177
This commit is contained in:
Holger Brunn
2015-07-17 11:14:17 +02:00
committed by Pedro M. Baeza
parent 338cef5c75
commit ebd3d0a3f4

View File

@@ -190,7 +190,8 @@ openerp.web_advanced_search_x2x = function(instance)
}); });
popup.select_element( popup.select_element(
this.field.relation, {}, this.field.domain, this.field.relation, {}, this.field.domain,
this.field.context); new instance.web.CompoundContext(
instance.session.user_context, this.field.context));
}, },
}); });