[FIX] sale: All Channels Sales Orders
The 'All Channels Sales Orders' report should filter out canceled orders. opw-1839938
This commit is contained in:
committed by
Nicolas Martinelli
parent
c9bdda2c68
commit
ed9dbffe07
@@ -57,6 +57,7 @@ class PosSaleReport(models.Model):
|
||||
(cr.date_end IS NULL OR cr.date_end > COALESCE(so.date_order, now())))
|
||||
LEFT JOIN product_uom u on (u.id=sol.product_uom)
|
||||
LEFT JOIN product_uom u2 on (u2.id=pt.uom_id)
|
||||
WHERE so.state != 'cancel'
|
||||
""" % self.env['res.currency']._select_companies_rates()
|
||||
return so_str
|
||||
|
||||
|
||||
Reference in New Issue
Block a user