mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 23:49:19 +00:00
fix: reset raw materials considering not available batches
This commit is contained in:
@@ -198,6 +198,7 @@ class SubcontractingReceipt(SubcontractingController):
|
||||
@frappe.whitelist()
|
||||
def reset_raw_materials(self):
|
||||
self.supplied_items = []
|
||||
self.flags.reset_raw_materials = True
|
||||
self.create_raw_materials_supplied()
|
||||
|
||||
def validate_closed_subcontracting_order(self):
|
||||
|
||||
Reference in New Issue
Block a user