fix: Consistent alert indicators

This commit is contained in:
Marica 2021-06-22 11:20:17 +05:30 committed by marination
parent 654e9d85d1
commit 9ba3fce4fd

View File

@ -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"""