fix: skip drop ship items (backport #47670) (#47718)

fix: skip drop ship items (#47670)

(cherry picked from commit 67c86ec028)

Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
mergify[bot]
2025-05-26 07:53:55 +05:30
committed by GitHub
parent 2961e595c2
commit e05888502f

View File

@@ -163,6 +163,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: