Community mailing list archives

Odoo V9 - QoH and locations

Axxelia GmbH & Co.KG, Markus Menner
- 04/18/2016 02:09:24
Hi community,

I don’t know if this has been discussed previously, but I believe that there is an issue with how Odoo (V9 in my case) treats the quantity on hand booking in the change quantity on hand wizard.

If you create multiple locations per warehouse let’s say you have:

and you have a quantity (only) on WH/Stock/A lets say 30 pieces of product A

once you open the "change quantity on hand“ wizard, Odoo will suggest 30 pieces on WH/Stock.

This comes due to the hierarchical stock structure and the way Odoo accumulates the quantities of the different levels.

Maybe I’m missing something, but if I’m right for changing the quantity on hand, I believe this is WRONG.
The quantity suggested should be only the quantity that directly sits on the particular stock location.

The current behavior  for changing the quantity on stock is dangerous, because if you confirm the quantity suggested by default (the case above), the quantity that exceeds the quantity on WH/Stock will be duplicated!
So in the example above, after confirming the 30 pieces you will end up with 30 pieces on WH/Stock and 30 pieces on WH/Stock/A = 60 pieces!

Anyway, I made a quick fix in one of our add-ons.
I anybody faces the same issue and is interested in the fix, please let me know.

Best regards
Mit freundlichen Grüßen

Markus Menner


axxelia GmbH & Co. KG
Herrenstraße 45, 79098 Freiburg
Telefon: +49 (0)761 205514-00
Telefax: +49 (0)761 205514-10
Mobil: +49 (0)1520 4144440
Sitz der Gesellschaft: Freiburg 
Amtsgericht Freiburg HRA 703295

Persönlich haftende Gesellschafterin: 
axxelia Verwaltungs GmbH
Herrenstraße 45, 79098 Freiburg
Sitz der Gesellschaft: Freiburg
Amtsgericht Freiburg HRB 709896 
Geschäftsführer: Markus Menner

Confidentiality: This e-mail and any attachments are confidential and may also be privileged. They are intended solely for the recipient’s use. If you are not the named recipient please notify the sender immediately and do not disclose the contents to another person, do not use it for any purpose or store or copy the information in any medium. 

Vertraulichkeit: Diese e-Mail sowie alle Anhänge sind vertraulich. Sie sind allein für den angegebenen Empfänger bestimmt. Wenn Sie nicht der angegebene Empfänger sind, informieren Sie bitte umgehend den Versender und geben Sie den Inhalt gegenüber keiner anderen Person preis, benutzen Sie die Mail nicht für andere Zwecke und speichern oder kopieren Sie die hier enthaltenen Informationen nicht auf irgendeinem Datenträger.