Removed Material Request type validation
This commit is contained in:
parent
966e5643c9
commit
cc23bc0549
@ -70,9 +70,7 @@ class MaterialRequest(BuyingController):
|
||||
|
||||
from erpnext.controllers.status_updater import validate_status
|
||||
validate_status(self.status, ["Draft", "Submitted", "Stopped", "Cancelled"])
|
||||
|
||||
self.validate_value("material_request_type", "in", ["Purchase", "Material Transfer", "Material Issue"])
|
||||
|
||||
|
||||
pc_obj = frappe.get_doc('Purchase Common')
|
||||
pc_obj.validate_for_items(self)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user