Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet

Our inventory consists of single items which are sold in volumes of 1. Each item is identified by unique serial number; therefore we are using stock.production.lot, one lot per item.

I am running into difficulties updating the stock.quants in each item's stock.location. I thought that the stock.quant would get updated in the appropriate place after the stock.move was set to 'done', but that is not happening.

I attempted to update the stock.quant model manually, but I'm starting to believe that that is is a big no-no. How can I get the stock.quants to update correctly in each stock.location?

I'm importing our initial inventory in the following manner:
1. Create stock.production.lot.
2. Create stock.move with location_dest_id.
3. Create stock.move.line, with location_dest_id, tying together the stock.move and the stock.production.lot.
4. Set the stock.move state to "done".

Unfortunately, when I view the destination stock.location, I do not see any stock.quants there.

What am I missing? Why isn't the stock.quant model attached to the stock.location getting updated?

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
3
Dez. 24
8997
2
März 25
3696
2
März 25
1583
0
Okt. 21
1752
0
Mai 21
3458