report code products only
This commit is contained in:
parent
f917da81f8
commit
3052d3e254
|
|
@ -119,7 +119,7 @@ class SamashtiDashboard(models.AbstractModel):
|
||||||
sl_src.usage IN ('internal', 'supplier', 'production', 'customer', 'inventory') AND
|
sl_src.usage IN ('internal', 'supplier', 'production', 'customer', 'inventory') AND
|
||||||
sl_dest.usage IN ('internal', 'supplier', 'production', 'customer', 'inventory') AND
|
sl_dest.usage IN ('internal', 'supplier', 'production', 'customer', 'inventory') AND
|
||||||
sm.state = 'done' AND
|
sm.state = 'done' AND
|
||||||
pt.type = 'consu' AND pp.default_code not null
|
pt.type = 'consu' AND pp.default_code is not null
|
||||||
|
|
||||||
GROUP BY
|
GROUP BY
|
||||||
pp.default_code, pt.name, pc.name, uom.name, pp.id
|
pp.default_code, pt.name, pc.name, uom.name, pp.id
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue