← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 670340] [NEW] Search controller/popup doesn't use search views

 

Public bug reported:

When a form view has o2m fields, it is possible to open a search popup
for the field to find the right object.

In that search popup is a list view with possibility to filter results,
but filtering uses old-style search (select=1 on fields) instead of
search view, even when there is a search view defined on the model.

Example:
- Go into Sales > Sales Orders
- Select a sales order
- Click on spyglass for "Customer" field to see search popup for customer

Expected:
A tree view opens with search form on top with all fields for customer:
* Customer filter (checked by default)
* Suppliers filter
* Name field
* Contacts field
* Country field
* Categories field
* Sales Team field
* Salesman field

Observed:
A tree view opens with only fields Name, Customer and Contacts for filtering

** Affects: openobject-client-web
     Importance: Medium
     Assignee: OpenERP SA's Web Client R&D (openerp-dev-web)
         Status: Confirmed

-- 
Search controller/popup doesn't use search views
https://bugs.launchpad.net/bugs/670340
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Web Client: Confirmed

Bug description:
When a form view has o2m fields, it is possible to open a search popup for the field to find the right object.

In that search popup is a list view with possibility to filter results, but filtering uses old-style search (select=1 on fields) instead of search view, even when there is a search view defined on the model.

Example:
- Go into Sales > Sales Orders
- Select a sales order
- Click on spyglass for "Customer" field to see search popup for customer

Expected:
A tree view opens with search form on top with all fields for customer:
* Customer filter (checked by default)
* Suppliers filter
* Name field
* Contacts field
* Country field
* Categories field
* Sales Team field
* Salesman field

Observed:
A tree view opens with only fields Name, Customer and Contacts for filtering





Follow ups

References