Skip to content

Commit

Permalink
Update erpnext/stock/doctype/delivery_trip/delivery_trip.py
Browse files Browse the repository at this point in the history
Co-authored-by: Raffael Meyer <[email protected]>
  • Loading branch information
blaggacao and barredterra authored Dec 30, 2023
1 parent 8b0141b commit ee41512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/stock/doctype/delivery_trip/delivery_trip.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def validate_delivery_note_not_draft(self):
if draft_delivery_notes:
frappe.throw(
_(
"Delivery Notes may not be in Draft to submit. The following Delivery Notes are in draft {0}"
"Delivery Notes should not be in draft state when submitting a Delivery Trip. The following Delivery Notes are still in draft state: {0}. Please submit them first."
).format(", ".join(draft_delivery_notes))
)

Expand Down

0 comments on commit ee41512

Please sign in to comment.