Add missing context when storing last_domain of selection

The last_domain should be composed of the domain and the context.

issue6710
review43401002
This commit is contained in:
Cédric Krier
2017-08-28 18:29:25 +02:00
parent 3a5f3134bc
commit 178661a672
+1 -1
View File
@@ -664,7 +664,7 @@
if (this.nullable_widget) {
selection.push([null, '']);
}
this._last_domain = domain;
this._last_domain = [domain, context];
this._domain_cache[jdomain] = selection;
this.selection = jQuery.extend([], selection);
if (callback) {