diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-01-20 18:54:14 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-01-25 13:04:58 +0100 |
| commit | bf78ad7bf7e67f60bd96b25e8ebbc8a950b14093 (patch) | |
| tree | a9349e9c1ab1aaa2dacc79784839cf157081d9d6 /addons/web/static/src | |
| parent | b8e9017f66da89eae2ccd609ef091a36ca7eb282 (diff) | |
[FIX] website_sale: loaded default pricelist
If a user signed in, the pricelist must be,
in this very specific order:
- the pricelist of its saved cart
except if the cart is no longer valid
(pricelist no longer available or
order no longer draft),
- or, the user specific pricelist,
in other words, the pricelist set by an employee
for this specific customer, if any,
- or, the public user pricelist, if it is available
in the user geolocalization
- or, the first pricelist available
In addition, if the user firstly browses the shop
without being signed in, and then signs it, the pricelist
loaded after the sign in must be the user specific pricelist,
if any, and not the default website pricelist (the public
user pricelist or the first pricelist available)
opw-666620
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
