fix: incorrect validation thrown for drop shipped PI (#54751)

This commit is contained in:
Mihir Kandoi
2026-05-06 11:00:14 +05:30
committed by GitHub
parent 7028034cd6
commit 907a809f3f
6 changed files with 33 additions and 12 deletions

View File

@@ -329,6 +329,7 @@ class AccountsController(TransactionBase):
# Determine if drop ship applies
is_drop_ship = self.doctype in {
"Purchase Order",
"Purchase Invoice",
"Sales Order",
"Sales Invoice",
} and self.is_drop_ship(self.items)