advance search on stock_available in stock.production.lot doesn seem to work

Bug #332175 reported by Raphaël Valyi - http://www.akretion.com
4
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Mantavya Gajjar (Open ERP)

Bug Description

Hi,

when displaying stock.production.lot in tree/list view, it seems that using advanced search with conditions on stock_available don't do anything related to quantity filtering. In a way that wouldn't surpise me as the quantity is dynamically computed by SQL.

I'm not very sure yet. More to come but worth to be checked.

Hope this helps,

Raphaël Valyi

Revision history for this message
Mantavya Gajjar (Open ERP) (mga) wrote :

hello,

in the stock.production.lot the field
'stock_available': fields.function(_get_stock, method=True, type="float", string="Available", select="2"),

but i never seen the fnct_search parameter for this field, seems that search function is not written for the field 'stock_available' so we need to define this

available soon

Changed in openobject-addons:
status: New → In Progress
assignee: nobody → mga
Revision history for this message
Mantavya Gajjar (Open ERP) (mga) wrote :

implement search method for the function field

Changed in openobject-addons:
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.