mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 14:39:19 +00:00
fix: error message args in sle.py
This commit is contained in:
@@ -232,7 +232,7 @@ class StockLedgerEntry(Document):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if item_detail.is_stock_item != 1:
|
if item_detail.is_stock_item != 1:
|
||||||
self.throw_error_message("Item {0} must be a stock Item").format(self.item_code)
|
self.throw_error_message(f"Item {self.item_code} must be a stock Item")
|
||||||
|
|
||||||
if item_detail.has_serial_no or item_detail.has_batch_no:
|
if item_detail.has_serial_no or item_detail.has_batch_no:
|
||||||
if not self.serial_and_batch_bundle:
|
if not self.serial_and_batch_bundle:
|
||||||
|
|||||||
Reference in New Issue
Block a user