mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
* chore: make `Reserve Stock` checkbox visible in SO (cherry picked from commit36a996d704) * refactor: rename field `Auto Reserve Stock for Sales Order` (cherry picked from commit2b4fa98941) * feat: add fields to hold SO and SO Item ref in PR Item (cherry picked from commit188175be84) * feat: reserve stock for SO on PR submission (cherry picked from commit64497c9228) # Conflicts: # erpnext/stock/doctype/purchase_receipt/purchase_receipt.py * feat: add field `From Voucher Type` in SRE (cherry picked from commit5ae9c2f62b) * refactor: rename field `against_pick_list_item` (cherry picked from commit78fe567419) * refactor: rename field `against_pick_list` (cherry picked from commit961d2d9926) * fix: incorrect serial and batch get reserved (cherry picked from commit45395027d3) * fix: partial reservation against SBB (cherry picked from commit4f363f5bf3) * fix: ignore qty msg if From Voucher is set (cherry picked from commita432290a82) * test: add test case for auto-reservation from PR (cherry picked from commitadf313a6d3) * chore: add SRE link in PR Connections (cherry picked from commit24788ddcc0) * chore: patch to update `From Voucher` details (cherry picked from commit6942ab1012) * chore: `conflicts` * fix(patch): `update_sre_from_voucher_details` --------- Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
This commit is contained in:
@@ -556,6 +556,8 @@ def make_purchase_receipt(source_name, target_doc=None):
|
||||
"bom": "bom",
|
||||
"material_request": "material_request",
|
||||
"material_request_item": "material_request_item",
|
||||
"sales_order": "sales_order",
|
||||
"sales_order_item": "sales_order_item",
|
||||
},
|
||||
"postprocess": update_item,
|
||||
"condition": lambda doc: abs(doc.received_qty) < abs(doc.qty)
|
||||
|
||||
Reference in New Issue
Block a user