diff options
| author | Thibault Delavallée <tde@odoo.com> | 2019-08-27 11:17:34 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-08-28 13:27:58 +0000 |
| commit | 9b12a8b9d740565ee8f3bc162265e5816d2afb5f (patch) | |
| tree | 49ce3d8b9082e9ecb9d3e8c97a2aeb842e24dc1a /addons/website/static/src/xml/website.contentMenu.xml | |
| parent | f93064606f4b6dd0fde0750991ff517ae2925fac (diff) | |
[FIX] website_sale: fix access right issue when paying
PURPOSE
Test frontend and UI tools of eLearning.
SPECIFICATIONS
Commit fe518f1feaabc0101e201b2542acf18deca9693f introduced a search on sale order model in checkout
process. However this may fail as access rights are not always granted
* portal users can see orders linked to their company;
* salesman and a lot of specific groups (accounting, ...) can see their own
orders, all orders, or depending on some condition;
* BUT standard users (employee only for example) cannot see any sale order.
Indeed they do not even have right to read, meaning a search fail. Let us
sudo the search as this is contained in a sub method used to fetch some
data.
LINKS
Task ID 1937768
Diffstat (limited to 'addons/website/static/src/xml/website.contentMenu.xml')
0 files changed, 0 insertions, 0 deletions
