c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #21147
[Bug 747379] Re: [6.0] inventory : wrong stocks moves generated when using production lot
Hello,
It has been fixed in lp:~openerp-dev/openobject-addons/trunk-bug-747379-rpa with:
revno: 4627
revision-id: rpa@xxxxxxxxxxx-20110406064901-8lazwsjwho0qmsq4
Thanks for reporting
** Changed in: openobject-addons
Status: In Progress => Fix Committed
** Also affects: openobject-addons/6.0
Importance: Undecided
Status: New
** Changed in: openobject-addons/6.0
Status: New => Confirmed
** Changed in: openobject-addons/6.0
Importance: Undecided => Medium
** Changed in: openobject-addons/6.0
Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)
--
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/747379
Title:
[6.0] inventory : wrong stocks moves generated when using production
lot
Status in OpenERP Modules (addons):
Fix Committed
Status in OpenERP Addons 6.0 series:
Confirmed
Bug description:
For each inventory line with a production lot, the generated stock move must be based on the stock level for that (Product,Location,ProdLot) and not (Product,Location)
For example I create an initial inventory:
Location, Product, Qty, Lot#
Stock, FAN, 10, 0000001
Stock, FAN, 10, 0000002
Then, 2 stock moves are generated from Inventory Loss to Stock. That's correct.
I create new inventory:
Location, Product, Qty, Lot#
Stock, FAN, 2, 0000003
Then, 1 stock move is created from Stock to Inventory Loss with qty 13 and Lot# 0000003. This is WRONG.
When fixing this bug, pay attention to this rule: an inventory should
NEVER create a stock move for a (Product,Location,ProdLot) that is not
present in the inventory
Related bug : https://bugs.launchpad.net/openobject-addons/+bug/747396
References