mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-28 23:51:48 +01:00
fix: skip drop ship items (#47670)
(cherry picked from commit 67c86ec028)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
@@ -163,6 +163,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