From 9612ede9ca68c3e2d5dc95c99eead474ae50210e Mon Sep 17 00:00:00 2001 From: Demesmaeker Date: Thu, 29 Apr 2021 08:41:29 +0000 Subject: [PATCH] [IMP] sale, payment: improve the UI Small UI improvements for clarity/continuity: 1. In the "Sales' onboarding wizard > payment configuration > documentatlion link", font roboto is now used. 2. In the sales order, the error message when 'there is nothing to invoice' now also explains also what the user has to do to invoice "Prepaid" services. 3. In the "Payment confirmation" section of the payment portal, 'Reference', 'From' & 'Amount' fields don't look like editable fields anymore. 4. In the payment forms, tokens created with the Test acquirer are now identified with a "Test Token" badge in place of the verified token checkmark. task-2505913 closes odoo/odoo#70076 Related: odoo/enterprise#18036 Signed-off-by: Antoine Vandevenne (anv) --- .../views/payment_portal_templates.xml | 33 +++++++++---------- addons/payment/views/payment_templates.xml | 33 ++++++++++--------- .../payment_acquirer_onboarding_templates.xml | 4 +-- addons/payment_test/__manifest__.py | 1 + .../models/payment_transaction.py | 3 +- .../payment_test/views/payment_templates.xml | 12 +++++++ addons/sale/models/sale_order.py | 16 +++++---- 7 files changed, 58 insertions(+), 44 deletions(-) create mode 100644 addons/payment_test/views/payment_templates.xml diff --git a/addons/payment/views/payment_portal_templates.xml b/addons/payment/views/payment_portal_templates.xml index ebf26549ddb..7703b29fa6d 100644 --- a/addons/payment/views/payment_portal_templates.xml +++ b/addons/payment/views/payment_portal_templates.xml @@ -138,38 +138,35 @@ -
- -
+ +
-
- -
+
+
-
- -
+
+