openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #10288
[Bug 981506] [NEW] wrong inventory computation if location_id and location_dest_id are identical
Public bug reported:
if location_id and location_dest_id are identical the inventory
quantity is wrong
if move.location_dest_id.id == location:
qty = uom_obj._compute_qty(cr, uid, move.product_uom.id,move.product_qty, move.product_id.uom_id.id)
else:
qty = -uom_obj._compute_qty(cr, uid, move.product_uom.id,move.product_qty, move.product_id.uom_id.id)
the attached patch fixes this
BTW for by-products it is often necessary to enter the same location for source and destination.
Hence this is a valid scenario.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/981506
Title:
wrong inventory computation if location_id and location_dest_id are
identical
Status in OpenERP Addons (modules):
New
Bug description:
if location_id and location_dest_id are identical the inventory
quantity is wrong
if move.location_dest_id.id == location:
qty = uom_obj._compute_qty(cr, uid, move.product_uom.id,move.product_qty, move.product_id.uom_id.id)
else:
qty = -uom_obj._compute_qty(cr, uid, move.product_uom.id,move.product_qty, move.product_id.uom_id.id)
the attached patch fixes this
BTW for by-products it is often necessary to enter the same location for source and destination.
Hence this is a valid scenario.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/981506/+subscriptions
Follow ups
-
[Bug 981506] Re: wrong inventory computation if location_id and location_dest_id are identical
From: Fabien (Open ERP), 2012-09-29
-
[Bug 981506] Re: wrong inventory computation if location_id and location_dest_id are identical
From: Rifakat (OpenERP), 2012-09-04
-
[Bug 981506] Re: wrong inventory computation if location_id and location_dest_id are identical
From: Amit Parik (OpenERP), 2012-04-16
-
[Bug 981506] Re: wrong inventory computation if location_id and location_dest_id are identical
From: Launchpad Bug Tracker, 2012-04-16
-
[Bug 981506] Re: wrong inventory computation if location_id and location_dest_id are identical
From: Amit Parik (OpenERP), 2012-04-16
-
[Bug 981506] Re: wrong inventory computation if location_id and location_dest_id are identical
From: Amit Parik (OpenERP), 2012-04-16
-
[Bug 981506] Re: wrong inventory computation if location_id and location_dest_id are identical
From: Amit Parik (OpenERP), 2012-04-16
-
[Bug 981506] Re: wrong inventory computation if location_id and location_dest_id are identical
From: Amit Parik (OpenERP), 2012-04-16
-
[Bug 981506] Re: wrong inventory computation if location_id and location_dest_id are identical
From: Ferdinand @ Camptocamp, 2012-04-14
-
[Bug 981506] Re: wrong inventory computation if location_id and location_dest_id are identical
From: Amit Parik (OpenERP), 2012-04-14
-
[Bug 981506] Re: wrong inventory computation if location_id and location_dest_id are identical
From: Ferdinand @ Camptocamp, 2012-04-14
-
[Bug 981506] [NEW] wrong inventory computation if location_id and location_dest_id are identical
From: Ferdinand @ Camptocamp, 2012-04-14
References