feat: Against voucher filter in General Ledger (#39100)

This commit is contained in:
Deepesh Garg
2024-01-03 10:03:27 +05:30
committed by GitHub
parent 60c33ac3e6
commit beee98da6d
3 changed files with 14 additions and 0 deletions

View File

@@ -238,6 +238,9 @@ def get_conditions(filters):
if filters.get("voucher_no"):
conditions.append("voucher_no=%(voucher_no)s")
if filters.get("against_voucher_no"):
conditions.append("against_voucher=%(against_voucher_no)s")
if filters.get("voucher_no_not_in"):
conditions.append("voucher_no not in %(voucher_no_not_in)s")