diff options
| author | Pierre Masereel <pim@odoo.com> | 2020-03-04 12:52:17 +0000 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2020-03-05 09:57:32 +0000 |
| commit | b10841acbe31fffb00bde4e2b4ee23a0d5042929 (patch) | |
| tree | 6503de149a342af84882b56e8bcfc339dedbc6d0 /addons/website/data/website_data.xml | |
| parent | 2e02be7404a4be9501d183a965ed50a0d443b69a (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/website/data/website_data.xml')
0 files changed, 0 insertions, 0 deletions
