diff options
| author | Mohammed Shekha <msh@openerp.com> | 2013-03-28 16:22:13 +0530 |
|---|---|---|
| committer | Mohammed Shekha <msh@openerp.com> | 2013-03-28 16:22:13 +0530 |
| commit | ed7a19951936cdb4e4469d130f3280f35b34eecd (patch) | |
| tree | 3bb5e2aac08130915c272d4094664a931b0886ac | |
| parent | fc04522286417198e1f19b010cbacd02f56f1c3b (diff) | |
[FIX]Fixed the issue of translation on add to dashboard selection choices, dashboard choices are not translated.
bzr revid: msh@openerp.com-20130328105213-fjjdntjgtmyxo3by
| -rw-r--r-- | addons/board/static/src/js/dashboard.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/board/static/src/js/dashboard.js b/addons/board/static/src/js/dashboard.js index 3489b686e1b..88d6f1e4864 100644 --- a/addons/board/static/src/js/dashboard.js +++ b/addons/board/static/src/js/dashboard.js @@ -343,8 +343,9 @@ instance.board.AddToDashboard = instance.web.search.Input.extend({ return this.load_data().done(this.proxy("render_data")); }, load_data:function(){ + var context = new instance.web.CompoundContext(this.getParent().dataset.get_context() || []); var board = new instance.web.Model('board.board'); - return board.call('list'); + return board.call('list', [context]); }, _x:function() { if (!instance.webclient) { return $.Deferred().reject(); } |
