summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorfwi-odoo <fwi@odoo.com>2017-03-21 11:43:48 +0100
committerfwi-odoo <fwi@odoo.com>2017-03-21 12:59:54 +0100
commit1213920e40bd4b7fc9f6f0a6c70cf3182c6d0621 (patch)
tree7d90c3bc4c581a336c9f6ec269bea749bd66fa9d /addons/web/static/src/js/views/basic/basic_controller.js
parent3aabf8101a74ccaf0403f5c4fc94c2901a9e951d (diff)
[FIX] web_editor: correctly fetch the inherited views
The `issuperset` method check if a set contains all the element of the set given in paremeter. So in our case, the user needed to be in all the view groups to get the inherited view. That's not the behaviour expected. If the user is in only one of the group required to have access to the view, we want to return the inherited view.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions