mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	Explicitly mark "parent" field in PartCategory and StockLocation as not required in API form fields
This commit is contained in:
		| @@ -293,6 +293,7 @@ function categoryFields() { | ||||
|     return { | ||||
|         parent: { | ||||
|             help_text: '{% trans "Parent part category" %}', | ||||
|             required: false, | ||||
|         }, | ||||
|         name: {}, | ||||
|         description: {}, | ||||
|   | ||||
| @@ -107,6 +107,7 @@ function stockLocationFields(options={}) { | ||||
|     var fields = { | ||||
|         parent: { | ||||
|             help_text: '{% trans "Parent stock location" %}', | ||||
|             required: false, | ||||
|         }, | ||||
|         name: {}, | ||||
|         description: {}, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user