From 90f1015dee2c3bb3e8e7dc8ba66b982104e1a7ed Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Fri, 16 Nov 2012 10:43:55 +0100 Subject: [PATCH] [FIX] list button test: no call_button result now triggers an act_window_close bzr revid: xmo@openerp.com-20121116094355-bsbxb0ufpjqx5j50 --- addons/web/static/test/list.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/web/static/test/list.js b/addons/web/static/test/list.js index 63cc16a5022..1f4b23b3155 100644 --- a/addons/web/static/test/list.js +++ b/addons/web/static/test/list.js @@ -44,7 +44,9 @@ $(document).ready(function () { return {result: false}; }; var ds = new instance.web.DataSetStatic(null, 'demo', null, [1, 2, 3]); - var l = new instance.web.ListView({}, ds, false, {editable: 'top'}); + var l = new instance.web.ListView({ + do_action: openerp.testing.noop + }, ds, false, {editable: 'top'}); l.appendTo($fix) .then(l.proxy('reload_content')) .then(function () {