mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] web_m2x_options: use the correct context in search function
This commit is contained in:
committed by
daniel-chionne
parent
793c655e97
commit
1d2d341ee8
@@ -123,7 +123,10 @@ odoo.define("web_m2x_options.web_m2x_options", function (require) {
|
||||
self.field_color = self.nodeOptions.field_color;
|
||||
self.colors = self.nodeOptions.colors;
|
||||
|
||||
var context = self.record.getContext(self.recordParams);
|
||||
const context = Object.assign(
|
||||
self.record.getContext(self.recordParams),
|
||||
self.additionalContext
|
||||
);
|
||||
var domain = self.record.getDomain(self.recordParams);
|
||||
|
||||
var blacklisted_ids = self._getSearchBlacklist();
|
||||
|
||||
Reference in New Issue
Block a user