summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/account/i18n/account.pot7
-rw-r--r--addons/account/static/src/js/account_widgets.js2
2 files changed, 8 insertions, 1 deletions
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
@@ -10875,6 +10875,13 @@ msgid "You are selecting transactions from both a payable and a receivable accou
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"
msgstr ""
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',
- }, $("<div />").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();
+ }, $("<div />").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;
}