twanda / vertical-agriculture

Verticalization of Odoo for farms and agroindustries
GNU Affero General Public License v3.0
0 stars 1 forks source link

Weight corrections in Pick Operations create negative lots in "Stock" #35

Open dastcaboz opened 2 years ago

dastcaboz commented 2 years ago

After executing a Pick Operation from "Stock" to "Output" (p.e. 3000 kg) I applied a weight correction for the same Pick Operation (p.e. 3100 kg). If the lots selected for the pick are entirely used for the move from Stock to Output, and the weight correction exeeds the total weight of these lots, odoo creates a negative weight for the lots used.

In my opinion odoo should take the 100 kg from another lot available in Stock. If no such lot is available, it should not be possible to finish the weight correction before Stock is refurnished.

Negative lots only make sense in the farmer location, where the cocoa is actually produced. In a warehouse location these negative lots will always remain there and distore the inventory.

Bildschirmfoto 2021-09-26 um 12 24 15 Bildschirmfoto 2021-09-26 um 12 24 46 Bildschirmfoto 2021-09-26 um 12 21 09
treviser commented 2 years ago

@dastcaboz I still tend to believe that the inventory stock keeping is correct. When I look at the traceability of the Lots 72 and 73 I see movements, which I can not retrace without knowing what exactly happened.

You can check all movements of a lot like this: Inventory/Master Data/Lots/Serial Numbers: lotstraceability

lotstraceabilityreport

Could you please create a new test case, which follows our designed workflow so we can check it without any unrelated "noise"?

dastcaboz commented 2 years ago

As long as a weight correction creates negative lots in stock we cannot use this feature. We will rather replenish Output with an additional stock mmove Stock > Output.

dastcaboz commented 2 years ago

@siddharth7815 : Can we resolve this issue? No negative moves that produce negative stock.