From da2e4c86a4eb6cf95b097a8ac7c20e7d322765a8 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Fri, 27 Nov 2015 16:35:00 +0100 Subject: [PATCH] [IMP] account: replace selection key in reconciliation opw-653468 ff note: no need after saas-6 --- addons/account/i18n/account.pot | 7 +++++++ addons/account/static/src/js/account_widgets.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/addons/account/i18n/account.pot b/addons/account/i18n/account.pot index 906337cccc1..661c1ba2587 100644 --- a/addons/account/i18n/account.pot +++ b/addons/account/i18n/account.pot @@ -10874,6 +10874,13 @@ msgid "You are selecting transactions from both a payable and a receivable accou "In order to proceed, you first need to deselect the %s transactions." msgstr "" +#. module: account +#. openerp-web +#: code:addons/account/static/src/js/account_widgets.js:1050 +#, python-format +msgid "last" +msgstr "" + #. module: account #: help:account.move.line,blocked:0 msgid "You can check this box to mark this journal item as a litigation with the associated partner" diff --git a/addons/account/static/src/js/account_widgets.js b/addons/account/static/src/js/account_widgets.js index 3291cb6ab3c..001eacfef7d 100644 --- a/addons/account/static/src/js/account_widgets.js +++ b/addons/account/static/src/js/account_widgets.js @@ -1047,7 +1047,7 @@ openerp.account = function (instance) { new instance.web.Dialog(this, { title: _t("Warning"), size: 'medium', - }, $("
").text(_.str.sprintf(_t("You are selecting transactions from both a payable and a receivable account.\n\nIn order to proceed, you first need to deselect the %s transactions."), last_selected_line.account_type))).open(); + }, $("
").text(_.str.sprintf(_t("You are selecting transactions from both a payable and a receivable account.\n\nIn order to proceed, you first need to deselect the %s transactions."), _t("last")))).open(); return; }