summaryrefslogtreecommitdiff
path: root/addons/pos_cache/static/src/js/pos_cache.js
diff options
context:
space:
mode:
authorLaurent Stukkens (LTU) <ltu@odoo.com>2020-12-01 12:02:10 +0000
committerYannick Tivisse <yti@odoo.com>2020-12-09 10:18:28 +0000
commit2db68c37ef32d9006301152c4595d2032948e933 (patch)
tree7b70bd3ccbe2d56311a877d8afc2deaf6b28c8c0 /addons/pos_cache/static/src/js/pos_cache.js
parent58d82943c58ed50e2cae27b8eb085fc4e54eebaf (diff)
[FIX] sale_timesheet: allow project timesheets to be updated
Before this commit: - If the user did not have sufficient rights (only group_hr_timesheet_user), then the update of the SOL on the task did not trigger an update on all not invoiced timesheets but only on the one of the user. - An exception was raised when updating the sale_line_id of the sale_line_employee_ids of a project as it tries to update the related employees project timesheets (which can be different from the current user). After this commit: - All the not invoiced timesheets of the task are updated when changing the task SOL. - The exception will not be thrown as the write opperation is made with sudo rights. closes odoo/odoo#62678 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/pos_cache/static/src/js/pos_cache.js')
0 files changed, 0 insertions, 0 deletions