opening stock fix

This commit is contained in:
raman 2025-11-03 14:22:24 +05:30
parent 57061ad060
commit fae4c322ba
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class SamashtiDashboard(models.AbstractModel):
WHERE
sl_src.usage IN ('internal', 'supplier', 'production', 'customer') AND
sl_dest.usage IN ('internal', 'supplier', 'production', 'customer') AND
sm.state = 'done' AND pt.type = 'consu' AND sm.date BETWEEN {fromDate} AND {toDate}
sm.state = 'done' AND pt.type = 'consu'
GROUP BY
pp.default_code, pt.name, pc.name, uom.name