mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
fix: skip drop ship items (#47670)
This commit is contained in:
@@ -166,6 +166,9 @@ class TransactionBase(StatusUpdater):
|
|||||||
child_table_values = set()
|
child_table_values = set()
|
||||||
|
|
||||||
for row in self.get(child_table):
|
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))
|
child_table_values.add(row.get(child_table_field))
|
||||||
|
|
||||||
if len(child_table_values) > 1:
|
if len(child_table_values) > 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user