← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 488736] Re: (5.0) Inventory level wrong when purchase UoM different from default UoM

 

fixed with the new system in trunk.

** Changed in: openobject-addons
       Status: New => Fix Released

-- 
(5.0) Inventory level wrong when purchase UoM different from default UoM
https://bugs.launchpad.net/bugs/488736
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: Fix Released

Bug description:
Real and viritual stock levels are wrong when UoM in stock move is not default UoM.

To reproduce:

OpenERP V5.0.6
New database with profile manufacturing

Create UoM M, category Length, Rate:1
Create UoM 700M, category Length, Rate: 700 

Create product "Test" with Default UoM: M, Purchase UoM: 700M

Create partner "Supplier"

Now:
When I buy 5 x 700 M of the product "Test" I get the correct stock move entry of Quantity:5 and UOM:700 M. However when I go into checking the real/viritual stock which is displayed using Default UoM, the system has counted 5 x M, i.e. it has booked 5 M instead of 3500 M.

The same wrong stock numbers occurs when a BOM books out materials from stock in a UOM different than the Default UoM.