c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #06243
[Bug 683718] Re: [v6 RC1] stock addon: _product_value badly implemented
** Attachment added: "partial patch"
https://bugs.launchpad.net/bugs/683718/+attachment/1751482/+files/stock.patch
--
[v6 RC1] stock addon: _product_value badly implemented
https://bugs.launchpad.net/bugs/683718
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: New
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