mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
chore: fix conflicts
This commit is contained in:
@@ -1803,9 +1803,6 @@ def get_datetime_limit_condition(detail):
|
|||||||
def validate_negative_qty_in_future_sle(args, allow_negative_stock=False):
|
def validate_negative_qty_in_future_sle(args, allow_negative_stock=False):
|
||||||
if allow_negative_stock or is_negative_stock_allowed(item_code=args.item_code):
|
if allow_negative_stock or is_negative_stock_allowed(item_code=args.item_code):
|
||||||
return
|
return
|
||||||
<<<<<<< HEAD
|
|
||||||
if not (args.actual_qty < 0 or args.voucher_type == "Stock Reconciliation"):
|
|
||||||
=======
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
args.voucher_type == "Stock Reconciliation"
|
args.voucher_type == "Stock Reconciliation"
|
||||||
@@ -1816,7 +1813,6 @@ def validate_negative_qty_in_future_sle(args, allow_negative_stock=False):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if args.actual_qty >= 0 and args.voucher_type != "Stock Reconciliation":
|
if args.actual_qty >= 0 and args.voucher_type != "Stock Reconciliation":
|
||||||
>>>>>>> 289495c308 (fix: stock reco negative qty validation)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
neg_sle = get_future_sle_with_negative_qty(args)
|
neg_sle = get_future_sle_with_negative_qty(args)
|
||||||
|
|||||||
Reference in New Issue
Block a user