summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2015-11-27 16:35:00 +0100
committerNicolas Lempereur <nle@odoo.com>2015-11-27 17:49:21 +0100
commitda2e4c86a4eb6cf95b097a8ac7c20e7d322765a8 (patch)
tree32f0f6dd3211618d405c13409e789e638d140b8a
parent261ccf7c56062930b1d712ae860fe01dd8718968 (diff)
[IMP] account: replace selection key in reconciliation
opw-653468 ff note: no need after saas-6
-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;
}