From ec658130405926d5ba0141e6a4598047d710eedc Mon Sep 17 00:00:00 2001 From: "Nasreddin (bon)" Date: Wed, 2 Dec 2020 23:41:25 +0000 Subject: [PATCH] [FIX] account_payment: Online invoice button has "Pending" instead of "Pay Now" Issue - Create SO - Send quote to customer - Customer pays via CC (payment should be in "done" stage and SO is confirmed) - Add shipping to the SO - Create invoice and send invoice via email Customer does not see a pay button in the preview, instead they see "pending". Cause Does not check if still residual amount in the invoice. Solution If still residual amount, show 'Pay button' and allow to pay. opw-2392401 closes odoo/odoo#63054 X-original-commit: 7fbea075e5803360a798455dee16a9cdaf0bf271 Signed-off-by: agr-odoo Signed-off-by: bon-odoo --- .../account_payment/views/account_portal_templates.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/account_payment/views/account_portal_templates.xml b/addons/account_payment/views/account_portal_templates.xml index 90973219bde..5edfdd044ce 100644 --- a/addons/account_payment/views/account_portal_templates.xml +++ b/addons/account_payment/views/account_portal_templates.xml @@ -7,7 +7,7 @@ - Pay Now @@ -39,7 +39,7 @@