diff options
| author | len-odoo <len@odoo.com> | 2018-03-07 12:01:34 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-03-08 08:58:30 +0100 |
| commit | 9fdbbb816cfd6b8a81ab807244033d16de78107d (patch) | |
| tree | ffd6edb218d68befff4c1c79c28527f00bf8d81e /addons/web/static/src/js/views/basic | |
| parent | 9db108c106bf1b64443a827b37d28b17286ea6c6 (diff) | |
[FIX] website_sale: display prices using public user pricelist on the shop
When a pricelist was set on the public user that was different from that of the
website, the prices were displayed using the public user default currency,
but the currency symbol displayed was the website default currency.
The issue was that in the template, the currency was accessed as a computed,
related field of website while the price was obtained using a function call.
In the first case the field was obtained using sudo, and thus the call would not
get the public user pricelist.
opw-1817761
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
