diff options
| author | alt-odoo <alt@odoo.com> | 2020-09-04 05:18:01 +0000 |
|---|---|---|
| committer | alt-odoo <alt@odoo.com> | 2020-09-04 16:22:59 +0000 |
| commit | f3f4a5db3a1f21f8234cccf47db9097ebf92c0aa (patch) | |
| tree | 40b74a7f284bdebe0936f3287c77e74890fd749d /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 8d3413ff647de8d98c6858062dd07dde4160af95 (diff) | |
[FIX] mrp: no error on workorders scheduled start date update
When a user is accessing a work order in state ready, we are updating it and
rewriting date_planned_start field. We also update accordingly the associated
slot of the workcenter calendar (leave_id), but if the ressource of this slot
is linked to another user, a record rule on resource.calendar.leaves is preventing
the update, which should occur without error, even if the user does not have
Time Off / All Approver rights.
closes odoo/odoo#57118
X-original-commit: 790fb1820fbd49d07206963077216cc304ed2b0a
Signed-off-by: Alex Tuyls <alt-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
