Skip to content

Commit

Permalink
Merge pull request #40188 from frappe/mergify/bp/version-14-hotfix/pr…
Browse files Browse the repository at this point in the history
…-40176

fix(minor): make warning for previously existing SO an alert (backport #40176)
  • Loading branch information
GursheenK authored Feb 29, 2024
2 parents 035c90c + c8b817c commit aeb555a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion erpnext/selling/doctype/sales_order/sales_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ def validate_po(self):
frappe.msgprint(
_("Warning: Sales Order {0} already exists against Customer's Purchase Order {1}").format(
frappe.bold(so[0][0]), frappe.bold(self.po_no)
)
),
alert=True,
)
else:
frappe.throw(
Expand Down

0 comments on commit aeb555a

Please sign in to comment.