Skip to content

Commit

Permalink
chore: update serial_batch_bundle.py (#43981)
Browse files Browse the repository at this point in the history
Avaliable -> Available
  • Loading branch information
eltociear authored Nov 6, 2024
1 parent 134c24b commit 30954ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/stock/serial_batch_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ def validate_qty(self, doc):
required_qty = flt(abs(self.actual_qty), precision)

if required_qty - total_qty > 0:
msg = f"For the item {bold(doc.item_code)}, the Avaliable qty {bold(total_qty)} is less than the Required Qty {bold(required_qty)} in the warehouse {bold(doc.warehouse)}. Please add sufficient qty in the warehouse."
msg = f"For the item {bold(doc.item_code)}, the Available qty {bold(total_qty)} is less than the Required Qty {bold(required_qty)} in the warehouse {bold(doc.warehouse)}. Please add sufficient qty in the warehouse."
frappe.throw(msg, title=_("Insufficient Stock"))

def set_auto_serial_batch_entries_for_outward(self):
Expand Down

0 comments on commit 30954ed

Please sign in to comment.