From b4094d099873d7ca3aee2a983b489046b8947e49 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Tue, 13 Jan 2015 15:10:35 +0100 Subject: [PATCH] [FIX] account: bank statement reconciliation come back Once the bank statement reconcilation done, the back button should not come back to Home when it does not found the bank statement list in the breadcrumb history, but simply perform a history_back action, which will come back to the previous action, the statement form for instance. opw-625397 --- addons/account/static/src/js/account_widgets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/static/src/js/account_widgets.js b/addons/account/static/src/js/account_widgets.js index a6057ee03ab..cd150cca6ae 100644 --- a/addons/account/static/src/js/account_widgets.js +++ b/addons/account/static/src/js/account_widgets.js @@ -514,7 +514,7 @@ openerp.account = function (instance) { } } if (!found) - instance.web.Home(self); + self.do_action('history_back'); }); },