c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #06860
[Bug 683718] Re: [v6 RC1] stock addon: _product_value badly implemented
Hello Carlos,
This Bug already fixed in lp:~openerp-dev/openobject-addons/ron-dev-addons2
Revision ID: ron@xxxxxxxxxxx-20101124113247-1sa7zy74ztg8e98a
Revision num: 5071.
And some Simplified code on same Branch
Revision ID: ron@xxxxxxxxxxx-20101207101744-na505ffu2rq0w9fw
Revision num: 5080.
It will be available in trunk soon,
** Changed in: openobject-addons
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of C2C
OERPScenario, 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:
Fix Released
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
References