quotas information by product - change broker & attribute sale unit

This commit is contained in:
2025-07-08 14:19:35 +03:30
parent 90b090e848
commit be08aec2b9
6 changed files with 97 additions and 25 deletions

View File

@@ -2,7 +2,7 @@ from apps.warehouse.models import InventoryEntry
def get_products_in_warehouse(organization_id):
""" get lis of products from organization warehouse """
""" get list of products from organization warehouse """
entries = InventoryEntry.objects.select_related(
'distribution__quota__product'