Search default sent by context in tree view

Bug #1188277 reported by Jose Antonio Morales Ponce(vauxoo) - - http://www.vauxoo.com
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Status tracked in Trunk
7.0
Won't Fix
Undecided
OpenERP Publisher's Warranty Team
Trunk
Confirmed
Wishlist
OpenERP's Framework R&D

Bug Description

We need apply a search default from context({'search_default_field':param}) in a relational field in a tree view with editable button attribute, but this attribute is ignored in this view. We need have this feature in the tree view to avoid open another view to have search_default_filter.

I add a link with explanatory video

http://www.youtube.com/watch?v=f8rLvPqdDHk&edit=vd

Tags: maintenance
Changed in openobject-server:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Revision history for this message
Jose Antonio Morales Ponce(vauxoo) - - http://www.vauxoo.com (josemoralesp) wrote :

If they can't see the video try with this link: http://www.youtube.com/watch?v=f8rLvPqdDHk

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello Jose,

The intention behind implementation of *search_default_XXX* parameter in context was to filter the list of records based on the field supplied(XXX), when an action(which opens list view) is clicked, also on relational field like Many2one when you click search more (7.0) or click on magnifying glass(<7.0). The use case you are referring has dropdown list(autocomplete) for many2one field which does not have this feature supported in web-client to treat the *search_filter_XXX* parameter.

However, you can still filter records based on condition in this many2one(autocomplete) by using a domain on that field but be aware that domain will be applied on each view you refer from that field i.e click on 'search more...'

As a result this is more like a *WISHLIST* rather then a bug.

Thanks,
Naresh Soni
OpenERP Enterprise Services

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

sorry for the typo search_filter_XXX its search_default_XXX

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.