fix: internal transfer flow

This commit is contained in:
Rohit Waghchaure
2022-09-06 16:22:00 +05:30
parent 008542b715
commit b4a102d119
13 changed files with 257 additions and 23 deletions

View File

@@ -373,7 +373,7 @@ class AccountsController(TransactionBase):
)
def validate_inter_company_reference(self):
if self.doctype not in ("Purchase Invoice", "Purchase Receipt", "Purchase Order"):
if self.doctype not in ("Purchase Invoice", "Purchase Receipt"):
return
if self.is_internal_transfer():