fix(pos): get mode of payments query (#28321)

This commit is contained in:
Saqib 2021-11-10 13:06:55 +05:30 committed by GitHub
parent 12e81df2b7
commit 6d05bb5274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2029,7 +2029,7 @@ def get_mode_of_payments_info(mode_of_payments, company):
mpa.parent = mp.name and
mpa.company = %s and
mp.enabled = 1 and
mp.name in (%s)
mp.name in %s
group by
mp.name
""", (company, mode_of_payments), as_dict=1)