diff --git a/addons/account_payment/models/account_payment_method.py b/addons/account_payment/models/account_payment_method.py index a269cc95c60..a040bccf24a 100644 --- a/addons/account_payment/models/account_payment_method.py +++ b/addons/account_payment/models/account_payment_method.py @@ -11,7 +11,7 @@ class AccountPaymentMethod(models.Model): def _get_payment_method_information(self): res = super()._get_payment_method_information() for code, _desc in self.env['payment.provider']._fields['code'].selection: - if code in ('none', 'transfer'): + if code in ('none', 'custom'): continue res[code] = { 'mode': 'unique', diff --git a/addons/account_payment/models/payment_provider.py b/addons/account_payment/models/payment_provider.py index 9416db46380..fad7ef33640 100644 --- a/addons/account_payment/models/payment_provider.py +++ b/addons/account_payment/models/payment_provider.py @@ -75,7 +75,7 @@ class Paymentprovider(models.Model): @api.model def _setup_payment_method(self, code): - if code not in ('none', 'transfer') and not self._get_provider_payment_method(code): + if code not in ('none', 'custom') and not self._get_provider_payment_method(code): providers_description = dict(self._fields['code']._description_selection(self.env)) self.env['account.payment.method'].create({ 'name': providers_description[code], diff --git a/addons/account_payment/views/account_portal_templates.xml b/addons/account_payment/views/account_portal_templates.xml index eb2ab8ddd82..42af0332453 100644 --- a/addons/account_payment/views/account_portal_templates.xml +++ b/addons/account_payment/views/account_portal_templates.xml @@ -6,7 +6,7 @@ - + Pay Now @@ -16,13 +16,13 @@ - + Waiting for Payment Authorized - + Pending @@ -65,7 +65,7 @@