minor change ShopDailyCategoryReport

This commit is contained in:
Elvis 2023-07-06 17:09:19 -05:00
parent 63c1e18669
commit 42b5620b83
1 changed files with 1 additions and 1 deletions

View File

@ -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']