Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
dec. 24
8949
2
mrt. 25
3578
2
mrt. 25
1446
0
okt. 21
1664
0
mei 21
3382