[MERGE] OPW 590511: dashboard: make list of dashboards translated
lp bug: https://launchpad.net/bugs/1165321 fixed bzr revid: odo@openerp.com-20130607172928-zoji4p7jqxkzvy11
This commit is contained in:
commit
706f804afc
|
@ -344,7 +344,7 @@ instance.board.AddToDashboard = instance.web.search.Input.extend({
|
||||||
},
|
},
|
||||||
load_data:function(){
|
load_data:function(){
|
||||||
var board = new instance.web.Model('board.board');
|
var board = new instance.web.Model('board.board');
|
||||||
return board.call('list');
|
return board.call('list', [board.context()]);
|
||||||
},
|
},
|
||||||
_x:function() {
|
_x:function() {
|
||||||
if (!instance.webclient) { return $.Deferred().reject(); }
|
if (!instance.webclient) { return $.Deferred().reject(); }
|
||||||
|
|
Loading…
Reference in New Issue