Quantity Relocated moves eliminated

This commit is contained in:
Raman Marikanti 2026-01-12 15:00:34 +05:30
parent 025fad945d
commit 29ec38e992
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class SamashtiDashboard(models.AbstractModel):
category,
uom,
current_cost,
COALESCE(opening_stock, 0) AS opening_stock,
GREATEST(COALESCE(opening_stock, 0), 0) AS opening_stock
COALESCE(receipts, 0) AS receipts,
COALESCE(production, 0) AS production,
COALESCE(consumption, 0) AS consumption,