mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 18:21:22 +00:00
fix: dict can not be used as parameter (#41598)
This commit is contained in:
@@ -1196,7 +1196,11 @@ def get_previous_sle_of_current_voucher(args, operator="<", exclude_current_vouc
|
|||||||
order by posting_datetime desc, creation desc
|
order by posting_datetime desc, creation desc
|
||||||
limit 1
|
limit 1
|
||||||
for update""",
|
for update""",
|
||||||
args,
|
{
|
||||||
|
"item_code": args.get("item_code"),
|
||||||
|
"warehouse": args.get("warehouse"),
|
||||||
|
"posting_datetime": args.get("posting_datetime"),
|
||||||
|
},
|
||||||
as_dict=1,
|
as_dict=1,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user