diff options
| author | len-odoo <len@odoo.com> | 2018-04-24 11:08:56 +0200 |
|---|---|---|
| committer | len-odoo <35492570+len-odoo@users.noreply.github.com> | 2018-04-27 13:09:30 +0200 |
| commit | 50f77ba091189bd785d459c042a6cec04a125fdb (patch) | |
| tree | c91356616120722905d527b4ed3958282532ac98 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 3acb4a53892e22efdcb406050abea2d733a6e67f (diff) | |
[FIX] stock: allow inventory user to validate delivery orders when accouting entries have to be created
When validating a delivery order with automated inventory,
some accounting moves are created.
Since an inventory user might not have accounting rights,
the validation of delivery orders might fail.
We simply had a sudo when in the internal method creating the move.
Moreover if the inventory valuation is set in FIFO,
the product price might be updated.
It might fail for lack of additional rights.
We add a sudo for this price update.
opw 1836761
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
