From 0871ed02ab04cf7daf7a46727d8cd084fe597e24 Mon Sep 17 00:00:00 2001 From: Robin Heinz Date: Thu, 9 Jan 2020 13:58:05 +0000 Subject: [PATCH] [FIX] l10n_fr_pos_certif: fix post push order when not french. When the french certification is installed for the pos, there is an error when we use it in a company that is not french. The format of the values sent was not identical to the format of the values expected. Now the order and the server_id are sent separetly to match the parent function. closes odoo/odoo#43476 X-original-commit: 657133a22df2208c9bc429257a3fe2c0344872e5 Signed-off-by: pimodoo --- addons/l10n_fr_pos_cert/static/src/js/pos.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/l10n_fr_pos_cert/static/src/js/pos.js b/addons/l10n_fr_pos_cert/static/src/js/pos.js index 20f15e17c0a..75bdd1e4d79 100644 --- a/addons/l10n_fr_pos_cert/static/src/js/pos.js +++ b/addons/l10n_fr_pos_cert/static/src/js/pos.js @@ -138,7 +138,7 @@ screens.PaymentScreenWidget.include({ return get_hash_prom; } else { - return this._super(arguments); + return this._super(order, server_ids); } }, });