[Trunk/7.0] groups on search view don't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Web Team |
Bug Description
I tried to use a group in a search view to hide some search function that some users shouldn't be able to use. (eg. a user shouldn't be able to filter on a field he doesn't see in form and tree view)
This has no effects.
In addons, I saw that webdav module is using it so here is how to reproduce using this module:
- install document_webdav
- create a user with all rights but technical features.
- remove groups on menu (and its parents):
Knowledge/
Now log in with the created user to check what you see in search view. According to xml file webdav_view.xml on line 134:
What you see and shouldn't are "Group By...", "Document" and "Namespace" filters.
An other place where groups are set in addons is in hr_evaluation/
Was this functionality removed? Please restore this.
Related branches
- Yannick Vaucher @ Camptocamp (community): Approve (test)
- OpenERP Core Team: Pending requested
-
Diff: 643 lines (+284/-83)4 files modifiedaddons/web/doc/search_view.rst (+11/-0)
addons/web/static/src/js/search.js (+107/-64)
addons/web/static/src/xml/base.xml (+1/-10)
addons/web/static/test/search.js (+165/-9)
summary: |
- [7.0] groups on search view don't work + [Trunk/7.0] groups on search view don't work |
Changed in openerp-web: | |
status: | New → Confirmed |
assignee: | nobody → OpenERP R&D Web Team (openerp-dev-web) |
importance: | Undecided → Medium |
Changed in openerp-web: | |
status: | Confirmed → In Progress |
> Was this functionality removed?
Not intentionally, it seems it was missed when the search view was reimplemented.