Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged

Was trying to retrieve the stock quantity(quantity on hand) per warehouse using  PGAdmin:

SELECT stock_inventory_line.product_qty as Quantity, stock_inventory_line.product_code as "Product Code", stock_inventory_line.product_name as "Product Name", stock_warehouse.code as "Warehouse"
FROM stock_warehouse 
inner join stock_inventory_line on stock_inventory_line.location_id = stock_warehouse.lot_stock_id
order by stock_warehouse.code;

It is getting the data which is different from the one presented by Odoo. What have I missed?

Thanks

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
pro 16
4990
4
bře 15
11745
1
led 21
5862
1
kvě 22
2260
1
čvc 21
4230