From 30302bc1161a32741f4d66d2bccd8c1a8ad2961d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Tue, 25 Sep 2018 14:45:01 +0200 Subject: [FIX] payment: remove ES6 specific construct Using the arrow syntax from ES6 is nice, but it breaks the doc build process. --- addons/payment/static/src/js/payment_processing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/payment/static/src/js/payment_processing.js') diff --git a/addons/payment/static/src/js/payment_processing.js b/addons/payment/static/src/js/payment_processing.js index b40c2074131..196e694399e 100644 --- a/addons/payment/static/src/js/payment_processing.js +++ b/addons/payment/static/src/js/payment_processing.js @@ -82,7 +82,7 @@ odoo.define('payment.processing', function (require) { 'tx_error': [], }; // group the transaction according to their state - transactions.forEach(tx => { + transactions.forEach(function (tx) { var key = 'tx_' + tx.state; if(key in render_values) { render_values[key].push(tx); -- cgit v1.2.3