summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2017-06-27 14:53:40 +0200
committerNicolas Martinelli <nim@odoo.com>2017-06-28 10:05:54 +0200
commit1b3a2c488c34fc5d1ab1fda518ac8e3ee0b049c2 (patch)
treed5c1914d53fedd63bfb99f68923aaaf08b348463 /addons/web/static/src/js/views/basic/basic_controller.js
parent2bda46ce78b501d7e6a202ba5674ecb7eb6e10de (diff)
[FIX] website_portal_sale: access to invoices
In the website portal,the Sales Orders are always rendered as superuser after access rights check. This is not the case for invoices, which can lead to access errors when the user tries to download the invoice PDF. To solve the issue a new route is created. It handles the access rights checks, then access the invoice document as a superuser. opw-747854
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions