fix: pos register shows cancelled documents (#23745)

This commit is contained in:
Saqib 2020-10-28 17:09:07 +05:30 committed by GitHub
parent b088c783df
commit 0d5aff54c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,7 @@ def get_pos_entries(filters, group_by_field):
FROM
`tabPOS Invoice` p {from_sales_invoice_payment}
WHERE
p.docstatus = 1 and
{group_by_mop_condition}
{conditions}
ORDER BY