summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authoramoyaux <arm@odoo.com>2017-08-09 10:59:57 +0200
committeramoyaux <arm@odoo.com>2017-08-09 14:31:33 +0200
commit4b72966ea888c051ee91741e50cbcfe9b682262a (patch)
tree042a3a1fe7e2d11946643f4bf754a7312fdc69f0 /addons/web/static/src/js/views/basic/basic_controller.js
parentfa9ad1563ae1622127fa094a9846164ef0c17610 (diff)
[FIX] stock : Stock user should be able to create a picking.
A stock user is not allowed to save a picking. It happens because the picking view use the field show_operations that is a related to stock.picking.type.show_operations. Since stock user do not have right to write on picking type it will fail. This commit add a readonly on show_operation on the picking view (already invisible). With that change the field will not be send to the server and thus not writed.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions