Odoo Help

0

How can i get Quantity on hand of perticular product based on location, product_product_id?

By
samba
on 8/11/14, 5:56 AM 1,059 views

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

return qoh

}

0

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

0
Alcaline
On 9/30/14, 3:19 AM

Mr. Samba where did you put this?
 

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 8/11/14, 5:56 AM
Seen: 1059 times
Last updated: 3/16/15, 8:10 AM