summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2020-03-04 12:52:17 +0000
committerPierre Masereel <pim@odoo.com>2020-03-05 09:57:32 +0000
commitb10841acbe31fffb00bde4e2b4ee23a0d5042929 (patch)
tree6503de149a342af84882b56e8bcfc339dedbc6d0 /addons/web/static/src/js
parent2e02be7404a4be9501d183a965ed50a0d443b69a (diff)
[FIX] delivery: access rights when computing price rules
When a picking is validated with the delivery prices based on rules, you can face an error, if you are not inventory manager or sales manager. First, because you don't have access rights to see the sales orders used to compute the price. And then you don't don't have access rights on the delivery.price.rule object to apply the formulas. As the computation of the price of a delivery should not depends on access rights other than the ones that let the user validate the picking, as 'sudo' is called. OPW-2209148 closes odoo/odoo#46947 X-original-commit: b68139bf2fec8fd2a79e1a578d126f260891c4f6 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions