physical inventory: different behavior with and without production lot

Bug #725921 reported by Steffi Frank (Bremskerl, DE)
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
High
OpenERP R&D Addons Team 2

Bug Description

create new product C (not batch handled) and Product D (batch handled)

I enterd 3 physical inventories to test the behavior, these are the results:

Product C (not batch handled)
Initial inventory, qty 100 -> real stock = 100
second inventory, qty 90 -> real stock = 90
third inventory, qty 0 -> real stock = 0

Product D (batch handled)
Initial inventory, qty 100 -> real stock = 100
Second inventory, qty 90 -> real stock = 10
Third inventory, qty 0 -> real stock = 10

ops....

Related branches

Revision history for this message
Steffi Frank (Bremskerl, DE) (steffi-frank) wrote :

additional info / stock moves (after validating inventory):

product C
1. inventory: 100 pce (inventory loss -> stock)
2. inventory: 10 pce (stock -> inventory loss)
3. inventory: 90 pce (stock -> inventory loss)

product D (batchhandled)
1. inventory: 100 pce (inventory loss -> stock)
2. inventory: 90 pce (stock -> inventory loss)
3. inventory: 0 pce (stock -> inventory loss)

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Steffi Franck,

I have tested your scenario with latest trunk at my end. But I am not able to reproduce it.
I have checked it and all are working as expected.

So would you please elaborate with more or provide the proper steps to reproduce it.

Thanks.

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Steffi Frank (Bremskerl, DE) (steffi-frank) wrote :

Create two new products (both stockable):
P1: ENABLE ‘track manufacturing lots’ / ‘track incoming lots’ / ‘track outgoing lots’
P2: DISABLE ‘track manufacturing lots’ / ‘track incoming lots’ / ‘track outgoing lots’

Create incoming moves for both through ‘incoming shipments’ / source location ‘suppliers’ / destination location ‘stock’:
P1: qty 100 WITH new production lot 0000030
P2: qty 100 WITHOUT production lot

Real stock for both of them now 100 pce

Create new inventory ‘test prod.lot’ / save
Create two new entries:
P1: stock / qty 80 / WITH production lot 0000030
P2: stock / qty 80 / WITHOUT production lot

Confirm and validate inventory

Real stock now:
P1: 20 pce
P2: 80 pce

Entering qty in inventory line WITH production lot is handled as ‘stock lost’
Entering qty in inventory line WITHOUT production lot is handled as ‘counted qty’ (what you expect....)

Reproducible?

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Steffi,

Thanks for your reply.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Low
status: Incomplete → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Changed in openobject-addons:
status: In Progress → Confirmed
Changed in openobject-addons:
importance: Low → Medium
Changed in openobject-addons:
importance: Medium → High
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Kirti Savalia(OpenERP) (ksa-openerp) wrote :

Hello Steffi,

it has been commit in lp:~openerp-dev/openobject-addons/trunk-bug-725921-ksa
Revision no : 4566
Revision ID: <email address hidden>

Thanks.

Changed in openobject-addons:
status: In Progress → Fix Committed
qdp (OpenERP) (qdp)
Changed in openobject-addons:
status: Fix Committed → Fix Released
Changed in openobject-addons:
status: Fix Released → In Progress
assignee: OpenERP R&D Addons Team 2 (openerp-dev-addons2) → OpenERP Publisher's Warranty Team (openerp-opw)
milestone: none → 6.0.2
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thanks for reporting this Steffi.

It has been fixed on stable 6.0.1 by revision 4493 <email address hidden>.

Changed in openobject-addons:
status: In Progress → Fix Released
Revision history for this message
Marco Dieckhoff (dieck) wrote :

Jay, sorry, but the last revision found on https://code.launchpad.net/~openerp/openobject-addons/6.0 as of now is 4491 - can you tell us where to find and download 4493?

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Marco,

I corrected my previous commits and http://bazaar.launchpad.net/~openerp/openobject-addons/6.0/revision/4490 is the one for you now.

Thanks for correcting me.

Changed in openobject-addons:
assignee: OpenERP Publisher's Warranty Team (openerp-opw) → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.