summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2018-10-25 08:53:05 +0000
committerThibault Delavallée <tde@odoo.com>2018-10-25 09:29:10 +0000
commit5494b0bc3eec6bb063017eaec61fd312c880e4b8 (patch)
tree591e708438e2ed7f3032e25b8c42e17eb85a74e9 /addons/web/static/src/js/views/basic/basic_controller.js
parent44b51d4491344f15965d9895918ba806d309b5ed (diff)
[FIX] mail: do not prevent record update due to automated activities
Currently creating activities assigned to user not having to the document raises an Error as people should not have activities they cannot handle directly on a document they cannot access. In some cases activities are created through business flow, like automatic activities creation when creating leave requests. Assigning an activity to someone that has no access to the document should not prevent from creating the leave request. This commit therefore does not check assigned user access on automated activities to avoid having blocked business flows. This commit is linked to task ID 1903484. closes odoo/odoo#28139
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions