fix: pos return validation on v15 (#45951)

This commit is contained in:
Diptanil Saha
2025-02-17 16:03:19 +05:30
committed by GitHub
parent 11622f81f3
commit dd34bbe570
2 changed files with 3 additions and 2 deletions

View File

@@ -170,7 +170,7 @@ class AccountsController(TransactionBase):
self.validate_qty_is_not_zero()
if (
self.doctype in ["Sales Invoice", "Purchase Invoice"]
self.doctype in ["Sales Invoice", "Purchase Invoice", "POS Invoice"]
and self.get("is_return")
and self.get("update_stock")
):