From 11f460a034f944a09e63de4dfa7fd0c1ed2ce8ad Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Tue, 6 Mar 2018 16:28:59 +0100 Subject: [PATCH] [FIX] display total if there is finally no change --- pos_customer_display/static/src/js/customer_display.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pos_customer_display/static/src/js/customer_display.js b/pos_customer_display/static/src/js/customer_display.js index b633d8db..c22ce8ea 100644 --- a/pos_customer_display/static/src/js/customer_display.js +++ b/pos_customer_display/static/src/js/customer_display.js @@ -278,6 +278,9 @@ openerp.pos_customer_display = function(instance){ change_rounded = change.toFixed(2); this.pos.prepare_text_customer_display('update_payment', {'change': change_rounded}); } + else{ + this.pos.prepare_text_customer_display('addPaymentline', {}) + } return res; }, });