Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
1731 Näkymät

Hi,

I have a need to get product quantities in different locations  using the API.

I queried product.product model using the API from and external application. Even though the field location_id is present in the API response, it is always (for all products) it is empty.

I do appreciate if someone please let me know the correct implementation (which model, field to be queried if different from above ?)


Thanks and Best Regards


Indunil


Avatar
Hylkää
Paras vastaus

Hi,

Try querying the model "stock.quant".

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
syysk. 21
2044
0
heinäk. 21
4839
1
maalisk. 21
4481
3
tammik. 25
3376
0
maalisk. 23
113