跳至内容
菜单
此问题已终结

I have one product to pick from multiple locations.

So, what should I have to create for that?

stock.move or stock.move.line for different locations of same product.

I am asking for creating from code side. If it affect the quant or anything.

Picking is already created and moves also.

Some moves are also reserved.

Now if I want to take data from somewhere, which has stock transfer data with locations, which is preferable to create? - move or move.line

形象
丢弃
最佳答案
  • If its OK, You should go for creating 'stock.picking' using a operation type. So that you'll have all the features related to a stock operation like, Reserve, unreserved, check availability..etc. 
    This will come very handy when you are dealing with items that must be tracked with Lot/Serial number. Inventory user can can later process the picking by selecting the appropriate lot/Serial number. 

  • If the first is not suitable for you, You should go for a creating 'stock.move'.

  • Last option you have is to create 'stock.move.line'. As mentioned in the first point, in the case of products with tracking, You'll have to create multiple records with appropriate lot/serial number. If you have packaging, it will be more complex.

Now its up to you which way you want to go forward. all have same impact in 'stock.quant'.

形象
丢弃
编写者

Picking is already created and moves also.

Some moves are also reserved.

Now if I want to take data from somewhere, which has stock transfer data with locations, which is preferable to create? - move or move.line

最佳答案

Hi,

If you are asking about the operations that you have to do from the user interface, you can create a picking for this move. Once you created the Picking , ie, Inventory -> Operations -> Transfers , the stock move you will add at the Operations page and inturns the move lines will get generated automatically.


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


Thanks

形象
丢弃
相关帖文 回复 查看 活动
0
10月 17
3191
1
7月 17
3782
1
9月 15
3940
0
5月 24
1625
0
11月 23
1174