minor change ShopDailyCategoryReport
This commit is contained in:
parent
63c1e18669
commit
42b5620b83
2
shop.py
2
shop.py
|
@ -459,7 +459,7 @@ class ShopDailyCategoryReport(Report):
|
|||
where_ = sale.state.in_(['processing', 'done'])
|
||||
where_ = line.product.in_(products_exception)
|
||||
where_ &= sale.company == data['company']
|
||||
where_ &= sale.invoice_type == 'P'
|
||||
# where_ &= sale.invoice_type == 'P'
|
||||
where_ &= sale.number != Null
|
||||
if data['shop']:
|
||||
where_ &= sale.shop == data['shop']
|
||||
|
|
Loading…
Reference in New Issue