summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2018-09-25 14:45:01 +0200
committerGéry Debongnie <ged@odoo.com>2018-09-25 14:46:58 +0200
commit30302bc1161a32741f4d66d2bccd8c1a8ad2961d (patch)
treeb16df72a8b86199ea9f66b4a83c5c7f1e2e6ce5a /addons
parent0e3d5941dadfe6d442a62bed81116a8d7c16bf80 (diff)
[FIX] payment: remove ES6 specific construct
Using the arrow syntax from ES6 is nice, but it breaks the doc build process.
Diffstat (limited to 'addons')
-rw-r--r--addons/payment/static/src/js/payment_processing.js2
1 files changed, 1 insertions, 1 deletions
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);