fix: make warning for previously existing SO an alert
This commit is contained in:
parent
6f5815e44f
commit
24dcd64c16
@ -251,7 +251,8 @@ class SalesOrder(SellingController):
|
||||
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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user