diff options
| author | mcm-odoo <mcm@odoo.com> | 2019-08-07 09:56:12 +0000 |
|---|---|---|
| committer | mcm-odoo <mcm@odoo.com> | 2019-08-29 14:14:50 +0000 |
| commit | 9bfab43d9266f8f778c7ddd30fa1c1ca2f3e8d8b (patch) | |
| tree | 06b0597b1fb28883eccebff2988f11f865dd9d07 /addons/payment | |
| parent | 1c34882478926e2923ec45523bc3e7c18067d5e3 (diff) | |
[IMP] payment,sale: clean Payment Method in onboarding
The modifications are applied in account, sale and website_sale
- Changed description to "Choose your default customer payment method."
- Removed the "Pay with" from labels in Modal
- In sale: Renamed "Confirmation & Payment" to "Payment Method"
task-2032586
Diffstat (limited to 'addons/payment')
| -rw-r--r-- | addons/payment/views/payment_acquirer_onboarding_templates.xml | 2 | ||||
| -rw-r--r-- | addons/payment/wizards/payment_acquirer_onboarding_wizard.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/addons/payment/views/payment_acquirer_onboarding_templates.xml b/addons/payment/views/payment_acquirer_onboarding_templates.xml index 86296674d35..f00c6cfb636 100644 --- a/addons/payment/views/payment_acquirer_onboarding_templates.xml +++ b/addons/payment/views/payment_acquirer_onboarding_templates.xml @@ -4,7 +4,7 @@ <template id="onboarding_payment_acquirer_step"> <t t-call="base.onboarding_step"> <t t-set="title">Payment Method</t> - <t t-set="description">Configure your payment methods.</t> + <t t-set="description">Choose your default customer payment method.</t> <t t-set="btn_text">Set payments</t> <t t-set="done_text">Payment method set!</t> <t t-set="method" t-value="'action_open_payment_onboarding_payment_acquirer'" /> diff --git a/addons/payment/wizards/payment_acquirer_onboarding_wizard.py b/addons/payment/wizards/payment_acquirer_onboarding_wizard.py index 5c9c9c39197..2c198e23aa8 100644 --- a/addons/payment/wizards/payment_acquirer_onboarding_wizard.py +++ b/addons/payment/wizards/payment_acquirer_onboarding_wizard.py @@ -10,9 +10,9 @@ class PaymentWizard(models.TransientModel): _description = 'Payment acquire onboarding wizard' payment_method = fields.Selection([ - ('paypal', "Pay with PayPal"), - ('stripe', "Pay with credit card (via Stripe)"), - ('other', "Pay with another payment acquirer"), + ('paypal', "PayPal"), + ('stripe', "Credit card (via Stripe)"), + ('other', "Other payment acquirer"), ('manual', "Custom payment instructions"), ], string="Payment Method", default=lambda self: self._get_default_payment_acquirer_onboarding_value('payment_method')) |
