From f28369fd26313148d23a8b0a48d3b0e6f84656d9 Mon Sep 17 00:00:00 2001 From: eco-odoo Date: Mon, 13 Aug 2018 11:55:54 +0200 Subject: [PATCH] [IMP] sale,account: Fix/improve miscellaneous points on the onboarding bars Purpose ======= Clean some stuff on the onboarding bars: - Payment setting should be activated in sales settings if a payment acquirer is activated from the sales bar, otherwise the customer can't pay with the acquirer - No email is sent with sample documents -> sending to yourself using the chatter doesn't work... - Select "sign online" by default - Improve payment instructions - Improve the default thank you message on payment acquirer accordingly (when no bank defined) - Choose a custom payment method -> mark the step as done - Improve buttons wording: - Put a pointer cursor when hovering on done steps - Fix typo : instructions -> Instructions - Fix layout issue on tax screen --- addons/account/models/company.py | 1 + addons/account/views/account_onboarding_templates.xml | 8 ++++---- .../views/payment_acquirer_onboarding_templates.xml | 6 +++--- .../wizards/payment_acquirer_onboarding_wizard.py | 10 ++++++++-- addons/sale/models/res_company.py | 1 + addons/sale/views/sale_onboarding_views.xml | 3 +++ .../sale/wizard/payment_acquirer_onboarding_wizard.py | 6 ++---- odoo/addons/base/static/src/scss/onboarding.scss | 2 +- 8 files changed, 23 insertions(+), 14 deletions(-) diff --git a/addons/account/models/company.py b/addons/account/models/company.py index c9a898d626f..34cdf0738ec 100644 --- a/addons/account/models/company.py +++ b/addons/account/models/company.py @@ -508,6 +508,7 @@ Best Regards,''')) 'mark_invoice_as_sent': True, 'custom_layout': 'mail.mail_notification_borders', 'force_email': True, + 'mail_notify_author': True, } return action diff --git a/addons/account/views/account_onboarding_templates.xml b/addons/account/views/account_onboarding_templates.xml index be2613666f9..ee97c120485 100644 --- a/addons/account/views/account_onboarding_templates.xml +++ b/addons/account/views/account_onboarding_templates.xml @@ -19,7 +19,7 @@ Send an invoice to test the customer portal. - Send Sample + Send sample Sample invoice sent! @@ -150,7 +150,7 @@ Taxes Choose a default sales tax for your products. - I'm ready + Set taxes Step Completed! @@ -164,8 +164,8 @@ 1000
-
Choose a default sales tax for your products.
-