This question has been flagged
3 Replies
15953 Views

What is exactly the differences between stock.move and stock.move.line in odoo 11?

Thanks for your responses

Avatar
Discard
Best Answer
stock.move 
- high level
- used to model a quantity of products demanded
- parent location
stock.move.line 
- low level
- used to model a possible way to meet that demand
- specific location

Example: You want 10 Widgets for a Transfer. 

The stock.move would show

  • 10 units from Stock

There could actually be THREE stock.move.lines that might show

  • 5 units from Stock/Shelf A

  • 4 units from Stock/Shelf B

  • 1 unit from Stock/Shelf C


 

Avatar
Discard

When sale order is confirmed and the delivery button is hit, how stock.move takes the value from sale order line, which function is hit so stock.the move gets all value of sale.order.line? Any help, please.

Best Answer

@Ray Carnes How does this new `stock.move.line` model compare to past versions? It seems to be similar to the `stock.pack.operation` model.

Avatar
Discard

I think "stock.pack.operation" was just renamed to "stock.move.line". Same model, same purpose.