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-09-11 14:27:20 +0200
committerThibault Delavallée <tde@odoo.com>2018-09-11 16:36:20 +0200
commit08ce84f51d736a992a5c57aafa386d8932e0f675 (patch)
tree5bd25f4cc09aec41d8a01f192e5d624bb006acbf /addons/web/static/src/js/views/basic/basic_controller.js
parent3bb99ff80eab076f2c1ac47396ea3639b298ffc3 (diff)
[REF] base: allow to override access rights computation on node in fields view get
Purpose of this commit is to have a hook to allow to set CRUD actions on node in fields view get for other views than those defined in base or web. For example grid view defined in enterprise does not have its CRUD actions correctly set. We choose to extract the access rights set on nodes in a separate method to ease inheritance. The whole postprocess_and_fields does a big mixup of updating the node, computing fields, computing the arch and could probably be cleaned. This is however far from the simple purpose of this commit and we choose to make a small diff without refactoring things especially in a near-stable version. This commit should not change anything from functional point of view.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions