mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-12 19:35:09 +00:00
fix: skip drop ship items (#47670)
This commit is contained in:
@@ -166,6 +166,9 @@ class TransactionBase(StatusUpdater):
|
||||
child_table_values = set()
|
||||
|
||||
for row in self.get(child_table):
|
||||
if default_field == "set_warehouse" and row.get("delivered_by_supplier"):
|
||||
continue
|
||||
|
||||
child_table_values.add(row.get(child_table_field))
|
||||
|
||||
if len(child_table_values) > 1:
|
||||
|
||||
Reference in New Issue
Block a user