跳至内容
菜单
此问题已终结
2 回复
6302 查看

I need a function that gives QOH of particular product. like def getQOH(product_product_id, stock_Location_id){

return qoh

}

形象
丢弃
最佳答案

Hi Samba,

you can use the following method to get the stock. That methos is located into stock module and in stock.py file.

1) To get stock for a particular location : _product_get

2) To get stock for a particular location and its all child location : _product_all_get

3) To get Virtual stock for a particular location : _product_virtual_get

形象
丢弃
最佳答案

Mr. Samba where did you put this?
 

形象
丢弃
相关帖文 回复 查看 活动
1
12月 17
4590
1
3月 15
3408
1
3月 15
10621
0
3月 15
4309
0
3月 15
4848