fix: Consistent alert indicators
This commit is contained in:
parent
654e9d85d1
commit
9ba3fce4fd
@ -404,7 +404,7 @@ class StockController(AccountsController):
|
|||||||
if action == "Stop":
|
if action == "Stop":
|
||||||
frappe.throw(_(msg), title=_("Inspection Submission"), exc=QualityInspectionNotSubmittedError)
|
frappe.throw(_(msg), title=_("Inspection Submission"), exc=QualityInspectionNotSubmittedError)
|
||||||
else:
|
else:
|
||||||
frappe.msgprint(_(msg), alert=True)
|
frappe.msgprint(_(msg), alert=True, indicator="orange")
|
||||||
|
|
||||||
def validate_qi_rejection(self, row):
|
def validate_qi_rejection(self, row):
|
||||||
"""Check if QI is rejected on row level, during submission"""
|
"""Check if QI is rejected on row level, during submission"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user