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; }