mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-29 06:38:24 +00:00
feat: stock reservation for product bundle (#54750)
* feat: stock reservation for product bundle * test: add test case
This commit is contained in:
@@ -399,7 +399,7 @@ class SubcontractingOrder(SubcontractingController):
|
||||
|
||||
reservation_items.append(data)
|
||||
|
||||
sre = StockReservation(self, items=reservation_items, notify=True)
|
||||
sre = StockReservation(self, items=reservation_items)
|
||||
if is_transfer:
|
||||
sre.transfer_reservation_entries_to(
|
||||
self.production_plan, from_doctype="Production Plan", to_doctype="Subcontracting Order"
|
||||
|
||||
Reference in New Issue
Block a user