fix(stock): ignore qty validation for pick list (backport #53871) (#53892)

Co-authored-by: Sudharsanan Ashok <135326972+Sudharsanan11@users.noreply.github.com>
fix(stock): ignore qty validation for pick list (#53871)
This commit is contained in:
mergify[bot]
2026-03-30 06:59:29 +00:00
committed by GitHub
parent 68d93a2dae
commit 319ba31b77
2 changed files with 4 additions and 1 deletions

View File

@@ -1083,7 +1083,9 @@ class TestMaterialRequest(ERPNextTestSuite):
pl.locations[0].qty = 2
pl.locations[0].stock_qty = 2
self.assertRaises(frappe.ValidationError, pl.submit)
# System should allow picking qty for excess transfer
pl.submit()
def test_mr_status_with_partial_and_excess_end_transit(self):
material_request = make_material_request(

View File

@@ -86,6 +86,7 @@ class PickList(TransactionBase):
"join_field": "material_request_item",
"target_ref_field": "stock_qty",
"source_field": "stock_qty",
"validate_qty": False,
}
]