fix: dict can not be used as parameter (#41598)

This commit is contained in:
rohitwaghchaure
2024-05-23 15:37:00 +05:30
committed by GitHub
parent 97fdda8a7c
commit 649c192abe

View File

@@ -1196,7 +1196,11 @@ def get_previous_sle_of_current_voucher(args, operator="<", exclude_current_vouc
order by posting_datetime desc, creation desc
limit 1
for update""",
args,
{
"item_code": args.get("item_code"),
"warehouse": args.get("warehouse"),
"posting_datetime": args.get("posting_datetime"),
},
as_dict=1,
)