From c2ff5075ae46bca8e31154d0db5ecb19bc39f4d2 Mon Sep 17 00:00:00 2001 From: Samuel Degueldre Date: Wed, 11 Sep 2019 08:25:14 +0000 Subject: [FIX] snailmail: fix traceback on re-send or cancel failed letter, open \"Buy credits\" in new tab PURPOSE Fixes traceback when clicking on "re-send letter" or "cancel letter" buttons (RPCs were being made with wrong number of arguments) makes the "Buy credits" link open in a new tab to not interrupt the user's workflow task-2068271 closes odoo/odoo#36667 Signed-off-by: Pierre Rousseau (pro) --- addons/snailmail/static/src/js/thread_widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/snailmail/static/src/js/thread_widget.js') diff --git a/addons/snailmail/static/src/js/thread_widget.js b/addons/snailmail/static/src/js/thread_widget.js index 4fd2521b4c7..84cc2a3b2dc 100644 --- a/addons/snailmail/static/src/js/thread_widget.js +++ b/addons/snailmail/static/src/js/thread_widget.js @@ -137,7 +137,7 @@ ThreadWidget.include({ var content = _.str.sprintf(_t( '

The letter could not be sent due to insufficient credits on your IAP account.

' + '' -- cgit v1.2.3