[MERGE] fix sale order line without products in reports
bzr revid: fp@tinyerp.com-20120929084650-1yx91jeh1z1ehxl5
This commit is contained in:
@@ -93,6 +93,7 @@ class sale_report(osv.osv):
|
||||
left join product_template t on (p.product_tmpl_id=t.id)
|
||||
left join product_uom u on (u.id=l.product_uom)
|
||||
left join product_uom u2 on (u2.id=t.uom_id)
|
||||
where l.product_id is not null
|
||||
group by
|
||||
l.product_id,
|
||||
l.product_uom_qty,
|
||||
|
||||
Reference in New Issue
Block a user