mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 15:12:51 +00:00
[stock reco] improved validation message
This commit is contained in:
@@ -150,6 +150,7 @@ class DocType(StockController):
|
||||
if row.qty != "" and not row.valuation_rate and \
|
||||
flt(previous_sle.get("qty_after_transaction")) <= 0:
|
||||
webnotes.msgprint(_("As existing qty for item: ") + row.item_code +
|
||||
_(" at warehouse: ") + row.warehouse +
|
||||
_(" is less than equals to zero in the system, \
|
||||
valuation rate is mandatory for this item"), raise_exception=1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user