Context set incorrectly on screens related to product

Bug #656504 reported by Don Kirkby
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
JMA(Open ERP)

Bug Description

I'm testing the trunk version (rev 4230), and I found that clicking to any of the related screens from Products doesn't find matches when there should be some.

It looks like the context is being set incorrectly, because the product search field on the related screen gets filled in with "[product code] product name". That doesn't work on these screens, you can only search for code or name, not both. If I remove either one, the search works.

Changed in openobject-addons:
assignee: nobody → JMA(Open ERP) (jma-openerp)
Revision history for this message
JMA(Open ERP) (jma-openerp) wrote :

Hello Don Kirkby,

I have tried with many cases but it could not notice this issue but would like to meet the problem.

Would you please provide more information as in where exactly the problem is?
A screen-shot would ease things.

Thank you.

Revision history for this message
Don Kirkby (donkirkby) wrote :

Here are the steps I used to reproduce the bug:
1. Create a database with sample data. Include the sales, purchases, manufacturing, warehouse, and crm applications.
2. Under the Warehouse menu, choose Product: Products.
3. Double click on [PC1] Basic PC to open the form.
4. Click on the Stock Moves button (see attached screen shot).

What I expect to happen:
The stock moves screen should open and list all of the stock moves for the selected product.

What actually happens:
The stock moves screen opens, but no stock moves are listed. The search field for product contains [PC1] Basic PC (screen shot coming soon). If I just enter the code or the name, then the stock moves appear.

Revision history for this message
Don Kirkby (donkirkby) wrote :

Attaching second screen shot of stock moves screen with incorrect search criteria.

Revision history for this message
Nicolas Vanhoren (OpenERP) (niv-openerp) wrote :

Ok, I reproduced it.

Changed in openobject-addons:
status: New → Confirmed
Revision history for this message
JMA(Open ERP) (jma-openerp) wrote :

Hello Don Kirby,

It has been fixed in trunk by revision 4332.
Please update your code to get the latest changes.
Thank you for pointing this out.

Changed in openobject-addons:
status: Confirmed → Fix Released
Changed in openobject-addons:
milestone: none → 6.0
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.