diff options
| author | Thibault Delavallée <tde@odoo.com> | 2017-06-07 18:13:11 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-08-08 14:58:49 +0200 |
| commit | ea27c1b7a341b6f913197a2e8843562c5e71ea52 (patch) | |
| tree | edff4bb4b14ba7afea08ce0c92ba609aa5d314fa /addons/website_payment | |
| parent | 86aa1b81bcc7452e42c84a995479a59440dab956 (diff) | |
[MOV] website_portal, portal: move customer portal to portal module
This commit moves the whole customer portal to the portal module.
It now completely uses portal and http_routing features and is not
dependent on website anymore.
An override of web controller is added in portal in order to redirect
portal users to /my instead of /web. That way once having the customer
portal installed all share users are correctly redirected to their
account.
All modules defining customer portal templates and controllers are
updated accordingly.
Diffstat (limited to 'addons/website_payment')
| -rw-r--r-- | addons/website_payment/__manifest__.py | 2 | ||||
| -rw-r--r-- | addons/website_payment/views/website_payment_templates.xml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/addons/website_payment/__manifest__.py b/addons/website_payment/__manifest__.py index 481c0110906..fce4212ca02 100644 --- a/addons/website_payment/__manifest__.py +++ b/addons/website_payment/__manifest__.py @@ -9,7 +9,7 @@ 'depends': [ 'website', 'payment', - 'website_portal', + 'portal', ], 'data': [ 'views/website_payment_view.xml', diff --git a/addons/website_payment/views/website_payment_templates.xml b/addons/website_payment/views/website_payment_templates.xml index bdaff74d0c4..ba012478c79 100644 --- a/addons/website_payment/views/website_payment_templates.xml +++ b/addons/website_payment/views/website_payment_templates.xml @@ -70,8 +70,8 @@ </t> </template> - <template id="pay_meth_link" inherit_id="website_portal.portal_layout" customize_show="True"> - <xpath expr="//div[@class='o_my_details']" position="inside"> + <template id="pay_meth_link" inherit_id="portal.portal_layout" customize_show="True"> + <xpath expr="//div[@class='o_portal_my_details']" position="inside"> <t t-if="request.env['payment.acquirer'].search([('website_published', '=', True), ('registration_view_template_id', '!=', False)])"> <div class='manage_payment_method mt16'><a href="/my/payment_method">Manage your payment acquirers</a></div> </t> |
