fix: negative stock issue (#56616)

This commit is contained in:
rohitwaghchaure
2026-06-29 17:20:12 +05:30
committed by GitHub
parent 926e4cfba6
commit ab98d19f26

View File

@@ -134,6 +134,7 @@ def repost_current_voucher(args, allow_negative_stock=False, via_landed_cost_vou
"sle_id": args.get("name"),
"creation": args.get("creation"),
"reserved_stock": args.get("reserved_stock"),
"cancelled": args.get("is_cancelled"),
},
allow_negative_stock=allow_negative_stock,
via_landed_cost_voucher=via_landed_cost_voucher,