Invisible widgets not supported for nested filters in search views

Bug #905337 reported by Olivier Dony (Odoo)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Web Team

Bug Description

To reproduce, add a nested filter in a search view and restrict it to the "Technical Features" group for example. E.g for the ir.modules search view I appended:
                        <field name="category_id">
                             <filter name="no_hidden" help="Hide technical modules"
                                    icon="STOCK_REMOVE" groups="base.group_no_one"
                                    domain="['!', ('category_id.parent_id','child_of','Hidden')]"/>
                        </field>

You can verify that the field_view_get() method adds an invisible="1" attribute to the filter, as well as the corresponding modifiers = {'invisible': true} attribute. Based on this the filter should be hidden, but it is not.

Moving the filter out of its parent field to make it top-level fixes the issue.

PS: please use the value of the 'modifiers' attribute for consistency throughout the web client, instead of the 'invisible' attribute.

Thanks!

Changed in openerp-web:
status: Confirmed → In Progress
Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

Should be fixed in trunk as of revision <email address hidden>

Changed in openerp-web:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.