summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorlen-odoo <len@odoo.com>2018-03-08 08:40:46 +0100
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-03-13 12:46:37 +0100
commit0c5841dccf6d8afa266e1181364c410222acc140 (patch)
tree3ef28e8286a96a8cab406074f4d76a483f5ae75d /addons/web/static/src/js/fields/basic_fields.js
parentb522ab5772e19c41ea47484b80bca0dc054859a6 (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. Equivalent to #23519 for odoo 11.0 opw-1819230
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions