mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 21:19:19 +00:00
valuation rate mandatory if item is transacting for the first time
This commit is contained in:
@@ -153,8 +153,8 @@ class StockReconciliation(StockController):
|
|||||||
if row.valuation_rate in ("", None):
|
if row.valuation_rate in ("", None):
|
||||||
row.valuation_rate = previous_sle.get("valuation_rate")
|
row.valuation_rate = previous_sle.get("valuation_rate")
|
||||||
|
|
||||||
# if row.qty and not row.valuation_rate:
|
if row.qty and not row.valuation_rate:
|
||||||
# frappe.throw(_("Valuation Rate required for Item {0}").format(row.item_code))
|
frappe.throw(_("Valuation Rate required for Item {0}").format(row.item_code))
|
||||||
|
|
||||||
self.insert_entries(row)
|
self.insert_entries(row)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user