From 324913beeaaaa19aec6a1b16a786cb56b36d5d9b Mon Sep 17 00:00:00 2001 From: niyasraphy Date: Wed, 11 Jan 2023 17:44:01 +0000 Subject: [PATCH] [FIX] payment: readonly/invisible fields when provider is not installed before this commit, from the payment providers menu, even though the provider is not installed in the database, the company, website and image fields are editable for the users. after this commit, the fields will be editable/visible only after the provider is installed in the db. publish/unpublish button will be shown only when provider is installed. closes odoo/odoo#110114 X-original-commit: e910dee3ce4b526aa956ad489e83442b3a425c36 Signed-off-by: Antoine Vandevenne (anv) --- addons/payment/views/payment_provider_views.xml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/addons/payment/views/payment_provider_views.xml b/addons/payment/views/payment_provider_views.xml index 4adf8766460..65d7de7d605 100644 --- a/addons/payment/views/payment_provider_views.xml +++ b/addons/payment/views/payment_provider_views.xml @@ -28,7 +28,8 @@ -
+
- - - + + +

@@ -63,9 +65,9 @@ Please use the Duplicate action instead.
- - - + + +