mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-18 17:08:42 +00:00
fix: negative stock issue (#56616)
This commit is contained in:
@@ -134,6 +134,7 @@ def repost_current_voucher(args, allow_negative_stock=False, via_landed_cost_vou
|
|||||||
"sle_id": args.get("name"),
|
"sle_id": args.get("name"),
|
||||||
"creation": args.get("creation"),
|
"creation": args.get("creation"),
|
||||||
"reserved_stock": args.get("reserved_stock"),
|
"reserved_stock": args.get("reserved_stock"),
|
||||||
|
"cancelled": args.get("is_cancelled"),
|
||||||
},
|
},
|
||||||
allow_negative_stock=allow_negative_stock,
|
allow_negative_stock=allow_negative_stock,
|
||||||
via_landed_cost_voucher=via_landed_cost_voucher,
|
via_landed_cost_voucher=via_landed_cost_voucher,
|
||||||
|
|||||||
Reference in New Issue
Block a user