c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #23596
[Bug 779145] Re: stock move - price_unit missing for avg price and not "IN"
** Attachment added: "stock.py.20110507a.patch"
https://bugs.launchpad.net/bugs/779145/+attachment/2118643/+files/stock.py.20110507a.patch
--
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/779145
Title:
stock move - price_unit missing for avg price and not "IN"
Status in OpenERP Modules (addons):
New
Bug description:
to be able to calculate the stock value for every point in time for avg price and real time
obviously for accounting purpose real time we must have
account_balance == stock values
and must be able to proove it
if (pick.type != 'in') and (move.product_id.cost_method == 'average'):
if all stock moves have the price_unit field set:
qty * price_unit= move_value
and sum(+/- move_value)
enables to calculated the total stock value per product in every point of time matching the account balance
a little step further will be to calculated the average price per
stock_location and lot
References