mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-23 16:48:30 +00:00
Merge pull request #51607 from rohitwaghchaure/fixed-item-not-found
fix: item not found
This commit is contained in:
@@ -295,6 +295,9 @@ class TransactionBase(StatusUpdater):
|
||||
# Server side 'item' doc. Update this to reflect in UI
|
||||
item_obj = self.get("items", {"idx": item_idx})[0]
|
||||
|
||||
if not item_obj.item_code:
|
||||
return
|
||||
|
||||
# 'item_details' has latest item related values
|
||||
item_details = self.fetch_item_details(item_obj)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user