Wizard "Fill inventory" creates wrong lines for moves where source=destination

Bug #1228156 reported by Numérigraphe
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
OpenERP R&D Addons Team 2

Bug Description

When fixing ​bug #797772, one corner case was not taken into account : stock moves where source=location.
Indeed, the program searches for moves in the location, and then if the location is the destination the quantity is added, otherwise it is subtracted.
But when the location is both the source AND the destination of the move, it should be ignored.
Lionel Sausin

Related branches

Revision history for this message
Numérigraphe (numerigraphe) wrote :

This can be fixed simply checking that the location is not the source before adding the quantity.
We'll be posting a branch with a fix and a regression test ASAP.
Lionel

Changed in openobject-addons:
assignee: nobody → Numérigraphe (numerigraphe)
Revision history for this message
Numérigraphe (numerigraphe) wrote :

I'm pushing branches with a fix and a test case for v6.0 and v7.0.
Hopefully someone at OpenERP can merge them ?
Lionel.

Changed in openobject-addons:
status: New → Fix Committed
assignee: Numérigraphe (numerigraphe) → nobody
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
Revision history for this message
Numérigraphe (numerigraphe) wrote :

The wizard "fill inventory" seems to have been removed[*] from the future WMS in v8.0, so I didn't propose a merge into trunk.
What is the status of this feature in v8 ?
Lionel.

[*] http://bazaar.launchpad.net/~openerp-dev/openobject-addons/trunk-wmsimplement-seduce-fp/revision/9203

Revision history for this message
Numérigraphe (numerigraphe) wrote :

The bug was actually fixed in v7.0. Maintaining the MP to add the test file.

Changed in openobject-addons:
status: Fix Committed → Fix Released
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.