Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
6306 Представления

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?
 

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
дек. 17
4594
1
мар. 15
3408
1
мар. 15
10625
0
мар. 15
4312
0
мар. 15
4850