diff options
| author | Bhumi Thakkar (Open ERP) <bth@tinyerp.com> | 2013-01-22 17:43:32 +0530 |
|---|---|---|
| committer | Bhumi Thakkar (Open ERP) <bth@tinyerp.com> | 2013-01-22 17:43:32 +0530 |
| commit | 85579d5022fee919e95b3a2ec54db176eea42aa1 (patch) | |
| tree | 1c30d7b10c8d9a850dad0a9b5c0f4413ee368aed /addons/web/static/src | |
| parent | f4fd5fd99ccc4c74a789d84679b581e74b8b11a6 (diff) | |
[FIX] Advanced search does not support local language.--fixes:lp1099833
bzr revid: bth@tinyerp.com-20130122121332-9iw75g5ddunzam58
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/search.js b/addons/web/static/src/js/search.js index a0208cc6d7a..70211792c26 100644 --- a/addons/web/static/src/js/search.js +++ b/addons/web/static/src/js/search.js @@ -1718,7 +1718,7 @@ instance.web.search.Advanced = instance.web.search.Input.extend({ }); return $.when( this._super(), - new instance.web.Model(this.view.model).call('fields_get').done(function(data) { + new instance.web.Model(this.view.model).call('fields_get',{'context': this.view.dataset.context}).done(function(data) { self.fields = _.extend({ id: { string: 'ID', type: 'id' } }, data); |
