Untitled
unknown
python
5 years ago
215 B
10
Indexable
for warehouse in self.warehouse_ids:
products = self.env['product.product'].with_context(warehouse=warehouse.id).search([])
for product in products:
print(product.display_name, product.qty_available)Editor is loading...