From ed7a19951936cdb4e4469d130f3280f35b34eecd Mon Sep 17 00:00:00 2001 From: Mohammed Shekha Date: Thu, 28 Mar 2013 16:22:13 +0530 Subject: [PATCH] [FIX]Fixed the issue of translation on add to dashboard selection choices, dashboard choices are not translated. bzr revid: msh@openerp.com-20130328105213-fjjdntjgtmyxo3by --- addons/board/static/src/js/dashboard.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); }