fix: validate over ordering of quotation

This commit is contained in:
Mihir Kandoi
2026-01-30 16:37:08 +05:30
parent 3e9a3c1185
commit 4cc306d2d8
7 changed files with 52 additions and 23 deletions

View File

@@ -443,7 +443,7 @@ class StatusUpdater(Document):
):
return
if args["source_dt"] != "Pick List Item":
if args["source_dt"] != "Pick List Item" and args["target_dt"] != "Quotation Item":
if qty_or_amount == "qty":
action_msg = _(
'To allow over receipt / delivery, update "Over Receipt/Delivery Allowance" in Stock Settings or the Item.'