From c9072dfe798d658246ca6fc255f95eb884a6d389 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Thu, 1 Sep 2022 14:45:37 +0000 Subject: [PATCH] [IMP] payment_(alipay,ogone,payumoney,payulatam): deprecate the modules The four payment acquirers implemented with these modules all present a subset of the following issues: - The user experience for the payment step is really bad: All of them. - The API is poorly documented, breaks often, or is badly designed and hard to work with: All of them. - It is no longer possible to open a new account: PayULatam, PayU money. - The countries/payment methods/currencies coverage is limited: Alipay, PayU money. - It is not possible to implement additional features such as tokenization, manual capture, or refunds: Alipay, PayULatam, PayU money. - They have a better replacement already available in Odoo: All of them. This commit thus deprecates the above-mentioned payment acquirers. This means that their module can no longer be installed on new databases and alternatives are suggested. Existing databases in which the modules were already installed will keep working. task-2806832 closes odoo/odoo#99025 Related: odoo/upgrade#3848 Related: odoo/documentation#2686 Signed-off-by: Victor Feyens (vfe) --- addons/payment/data/payment_acquirer_data.xml | 69 ------------------- .../payment/views/payment_acquirer_views.xml | 2 +- addons/payment_alipay/__init__.py | 10 +++ addons/payment_alipay/__manifest__.py | 6 +- .../data/payment_acquirer_data.xml | 15 +++- addons/payment_alipay/views/payment_views.xml | 12 +++- addons/payment_ogone/__init__.py | 10 +++ addons/payment_ogone/__manifest__.py | 6 +- .../data/payment_acquirer_data.xml | 16 ++++- addons/payment_ogone/views/payment_views.xml | 12 +++- addons/payment_payulatam/__init__.py | 10 +++ addons/payment_payulatam/__manifest__.py | 6 +- .../data/payment_acquirer_data.xml | 17 ++++- .../payment_payulatam/views/payment_views.xml | 12 +++- addons/payment_payumoney/__init__.py | 10 +++ addons/payment_payumoney/__manifest__.py | 10 +-- .../data/payment_acquirer_data.xml | 17 ++++- .../payment_payumoney/views/payment_views.xml | 12 +++- 18 files changed, 154 insertions(+), 98 deletions(-) diff --git a/addons/payment/data/payment_acquirer_data.xml b/addons/payment/data/payment_acquirer_data.xml index d3db7233d16..0985cfae3a1 100644 --- a/addons/payment/data/payment_acquirer_data.xml +++ b/addons/payment/data/payment_acquirer_data.xml @@ -20,22 +20,6 @@ ])]"/> - - Alipay - Credit Card (powered by Alipay) - - - - - - Amazon Payment Services Amazon Payment Services @@ -164,23 +148,6 @@ - - Ogone - Credit Card (powered by Ogone) - - - - - PayPal @@ -199,42 +166,6 @@ ])]"/> - - PayU Latam - Credit Card (powered by PayU Latam) - - - - - - - - PayUmoney - Credit Card (powered by PayUmoney) - - - - - - Razorpay Credit & Debit Card, UPI (Powered by Razorpay) diff --git a/addons/payment/views/payment_acquirer_views.xml b/addons/payment/views/payment_acquirer_views.xml index 261e03202ff..d51625de59d 100644 --- a/addons/payment/views/payment_acquirer_views.xml +++ b/addons/payment/views/payment_acquirer_views.xml @@ -58,7 +58,7 @@