fix(ux): change batch selection message to alert (#36500)
* fix(ux): change batch selection message to alert * chore: linters
This commit is contained in:
@@ -297,7 +297,9 @@ def get_batch_no(item_code, warehouse, qty=1, throw=False, serial_no=None):
|
||||
frappe.msgprint(
|
||||
_(
|
||||
"Please select a Batch for Item {0}. Unable to find a single batch that fulfills this requirement"
|
||||
).format(frappe.bold(item_code))
|
||||
).format(frappe.bold(item_code)),
|
||||
indicator="yellow",
|
||||
alert=(not throw),
|
||||
)
|
||||
if throw:
|
||||
raise UnableToSelectBatchError
|
||||
|
||||
Reference in New Issue
Block a user