diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-09-03 13:18:15 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-09-03 14:24:58 +0000 |
| commit | 3df5c5dd562ca5f0ffa925677653e62dabb05c0c (patch) | |
| tree | 00c45c80d004c2ea62054dbe5db39e84d6704d21 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | 19b17365d78febe5fbf5ac8319d19e48703bc369 (diff) | |
[FIX] product: filter out archived pricelists from candidate pricelists
Have a pricelist Pl set as property_product_pricelist on some partner Pa.
Archive Pl, so that the public user Pu use another pricelist Pl'.
Go to the shop, create some order.
The prices are obtained from Pl'.
Log in as Pa; prices are updated using Pl.
However since Pl is archived, it is not visible on the pricelist views,
so the end user cannot explain why the prices changed.
When the pricelist is archived, nothing is done regarding the ir.property
storing the partner/pricelist mapping, so the pricelist is retrieved as default
nonetheless.
We filter out the active pricelists when getting the property.
opw 1946476
co-authored with JKE-be
closes odoo/odoo#36389
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
