mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-02 06:29:54 +00:00
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:
@@ -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(
|
||||
|
||||
@@ -86,6 +86,7 @@ class PickList(TransactionBase):
|
||||
"join_field": "material_request_item",
|
||||
"target_ref_field": "stock_qty",
|
||||
"source_field": "stock_qty",
|
||||
"validate_qty": False,
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user