mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-23 03:10:04 +00:00
chore: rename type field to secondary_item_type (#55469)
This commit is contained in:
@@ -1442,7 +1442,7 @@ class StockController(AccountsController):
|
||||
elif self.doctype == "Stock Entry" and row.t_warehouse:
|
||||
qi_required = True # inward stock needs inspection
|
||||
|
||||
if row.get("type") or row.get("is_legacy_scrap_item"):
|
||||
if row.get("secondary_item_type") or row.get("is_legacy_scrap_item"):
|
||||
continue
|
||||
|
||||
if qi_required: # validate row only if inspection is required on item level
|
||||
|
||||
Reference in New Issue
Block a user