← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 648678] Re: [trunk] store move_value_cost in stock_move

 

** Changed in: openobject-addons
     Assignee: OpenERP R&D Addons Team 2 (openerp-dev-addons2) => OpenERP Report (openerp-report)

-- 
[trunk] store move_value_cost in stock_move 
https://bugs.launchpad.net/bugs/648678
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: Confirmed

Bug description:
this patch adds move_value_cost to stock move and allows stock analysis for real time accounting with values which are identical to accounting moves.

Please check "Total Value"
which originally is calculated as
pt.standard_price * sum(sm.product_qty) as value

IMHO this adds up incoming and outgoing qty and multiplies it with price - result is "Total Move Value" (a rarely used figure)
what would be of interest is
"Move Value In"
"Move Value Out"
"Stock Value" (but this is problematic if records are filtered by time) (In - Out)

Please add also test cases for "real time" evaluation