opening stock fix
This commit is contained in:
parent
57061ad060
commit
fae4c322ba
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue