openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #00097
[Bug 683718] Re: [v6 RC1] stock addon: _product_value badly implemented
** Changed in: openobject-addons
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/683718
Title:
[v6 RC1] stock addon: _product_value badly implemented
Status in OpenObject Addons Modules:
In Progress
Bug description:
in stock.py, object stock_location, the function:
def _product_value(self, cr, uid, ids, field_names, arg, context=None) is not completely implemented.
When I click in "Stock by location" from the product form, the stock shown is not correct.
This is due to several reasons:
1- the product_id in the context is not used
2 - the destination location is not used retrieved from the sql request: if u have one stock location used only as destination in a stock move, its stock won't be computed
3- some code could be removed / simplified
there is a patch, fixing nº1 and nº 3, but not nº2
but it can also be improved
thnx