Skip to content

Commit

Permalink
fix: validation msg in stock entry
Browse files Browse the repository at this point in the history
(cherry picked from commit ba77da0)
  • Loading branch information
s-aga-r authored and mergify[bot] committed Nov 28, 2022
1 parent 648a017 commit 65ac84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/stock/stock_ledger.py
Expand Up @@ -264,7 +264,7 @@ def repost_future_sle(
def validate_item_warehouse(args):
for field in ["item_code", "warehouse", "posting_date", "posting_time"]:
if not args.get(field):
validation_msg = f"The field {frappe.unscrub(args.get(field))} is required for the reposting"
validation_msg = f"The field {frappe.unscrub(field)} is required for the reposting"
frappe.throw(_(validation_msg))


Expand Down

0 comments on commit 65ac84e

Please sign in to comment.