From dd84e612d0a5e509c25c4f0823b90649ffc74aff Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Tue, 28 Apr 2015 15:46:34 +0200 Subject: [PATCH] [FIX] payment: remove extra field. Commit 8a6e859 wrongly introduced this new field when adding the new `payment_authorize` module. As 8.0 is a [stable version](http://git.io/vfACM), no data model change is allowed. We convert this field to a `fields.dummy` in case someone installed (or update) this module with this fields to ensure the view still applied and is not broken. --- addons/payment/models/res_config.py | 2 +- addons/payment/views/res_config_view.xml | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/addons/payment/models/res_config.py b/addons/payment/models/res_config.py index b64b698c83d..888e0a89fda 100644 --- a/addons/payment/models/res_config.py +++ b/addons/payment/models/res_config.py @@ -19,7 +19,7 @@ class AccountPaymentConfig(osv.TransientModel): 'module_payment_buckaroo': fields.boolean( 'Manage Payments Using Buckaroo', help='-It installs the module payment_buckaroo.'), - 'module_payment_authorize': fields.boolean( + 'module_payment_authorize': fields.dummy( 'Manage Payments Using Authorize.Net', help='-It installs the module payment_authorize.'), } diff --git a/addons/payment/views/res_config_view.xml b/addons/payment/views/res_config_view.xml index 8f5e5f31321..e4e6fc96652 100644 --- a/addons/payment/views/res_config_view.xml +++ b/addons/payment/views/res_config_view.xml @@ -24,10 +24,6 @@