summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src
diff options
context:
space:
mode:
authorToufik Benjaa <tbe@odoo.com>2018-03-22 11:51:55 +0100
committerToufik Benjaa <tbe@odoo.com>2018-03-22 13:51:53 +0100
commit3c2876f68971eb8a5e5aa490586dc4305f9e6e3b (patch)
treeb137e651a3cfe23883eb97a33db22e22a84b02d9 /addons/web_editor/static/src
parent8df055b584fd0e911238416ab9a1d473e3b27df7 (diff)
[FIX] website_quote: Fix '/my/orders' route inheritance
- The module 'website_quote' inherit the CustomerPortal class defined in 'portal/controllers/portal.py'. It does this to override a single method, namely 'portal_order_page'. The issue here is that 'portal_order_page' is not defined in the module portal, but in sale. This causes random issues where the inheritance was not done in the correct order. Which means the original portal_order_page was sometimes called before its child. Calling the original portal_order_page first means the child is never called. This commit change the imported CustomerPortal class to the one defined in the module sale.
Diffstat (limited to 'addons/web_editor/static/src')
0 files changed, 0 insertions, 0 deletions