diff --git a/addons/account_payment/views/account_portal_templates.xml b/addons/account_payment/views/account_portal_templates.xml index ef934bb3258..7e4bf8cf7b3 100644 --- a/addons/account_payment/views/account_portal_templates.xml +++ b/addons/account_payment/views/account_portal_templates.xml @@ -79,7 +79,7 @@ -
+
-

Secured by @@ -239,7 +239,9 @@

-

+

Secured by +

Secured by

- + + + - - - - - - + + + + + + + + + + + + + + + + + @@ -41,13 +92,38 @@ - - + + payment.method.kanban + payment.method + 1 + + + + +
+
+
+ +
+
+ + + +
+
+
+
+
+
+
+
+ + payment.method.search payment.method @@ -62,11 +138,20 @@ Payment Methods payment.method tree,kanban,form - [('is_primary', '=', True)] + [ + ('is_primary', '=', True), + ('provider_ids.state', '!=', 'disabled') + ] + {'active_test': False}

- Create a payment method + No payment methods found for your payment providers. +

+

+ + Configure a payment provider +

diff --git a/addons/payment/views/payment_provider_views.xml b/addons/payment/views/payment_provider_views.xml index c25813d4f09..bf62e1b3bdd 100644 --- a/addons/payment/views/payment_provider_views.xml +++ b/addons/payment/views/payment_provider_views.xml @@ -78,6 +78,7 @@ - + diff --git a/addons/payment/views/portal_templates.xml b/addons/payment/views/portal_templates.xml index 41c62977de7..5ec2abd14da 100644 --- a/addons/payment/views/portal_templates.xml +++ b/addons/payment/views/portal_templates.xml @@ -114,7 +114,7 @@ -
+
+
@@ -172,7 +173,9 @@
-
+
Amount @@ -187,11 +190,13 @@ - - - Payment Method - - + + + + Payment Method + + + diff --git a/addons/payment_custom/views/payment_custom_templates.xml b/addons/payment_custom/views/payment_custom_templates.xml index 582e7c5f393..d43759de4f8 100644 --- a/addons/payment_custom/views/payment_custom_templates.xml +++ b/addons/payment_custom/views/payment_custom_templates.xml @@ -1,6 +1,22 @@ + + + +