c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #26754
[Bug 797772] Re: fill inventory wizard computes wrong quantities
Hi Atik,
Take a look in your diff, I see another bug because you obtain the same
quantity to all production lots of same product, you must pass in
context to product_get the prodlot_id too for it searches the quantity
in location for one lot of one product. Test it.
Regards.
** Changed in: openobject-addons
Status: Fix Committed => Confirmed
--
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/797772
Title:
fill inventory wizard computes wrong quantities
Status in OpenERP Modules (addons):
Confirmed
Bug description:
Hi,
I executes fill inventory in a database with lots, and it creates one line in inventory for each product/lot. It's well but I have consumed products and consumed lots and it gets its quantities too and it creates an inventory line with origin quantity, because in source it searches all moves that have location_dest_id = (locations selected) and state = 'done' but this wizard doesn't subtract consumed quantity (location_id = (locations selected and state='done') with total received quantity.
Then for example, if I have a typical procurement move from Stock to Stock my total received quantity increases, if I have a consumed lot of one year ago for example, it appears in inventory lines.
It's wrong, this functionality is horrible, in addition, it sums the quantities without change the unit of measure to base (it sums kg and g for example). This wizard is unusable.
Regards.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/797772/+subscriptions
References