summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2019-01-18 13:12:36 +0000
committerNicolas Martinelli <nim@odoo.com>2019-01-18 13:12:36 +0000
commit79bfb23488403a433514b2b04625b8d55d3d56ae (patch)
treeb2b6bd8a717936ae8517db811ee8751980954c51 /addons/web/static/src/js/views/basic/basic_model.js
parent102467ae235f86c68bb6dd295a220b4668863756 (diff)
[FIX] website_sale_wishlist: new price
- Create a Public Pricelist without discounts - Create a pricelist with a discount for all products, with 'Discount Policy' set to 'Show public price & discount to the customer' - Assign the discount pricelist to the administrator partner - Go to the eCommerce as public user (or any user with the Public Pricelist as default) - Add a product to the Wishlist - Go to the Wishlist The discount of the admin pricelist is shown. This is because the `product.wishlist` is browsed as superuser and the computed field `price_new` depends on the user (ultimately through `_website_price`) opw-1912726 closes odoo/odoo#30358
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions