mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	Add 'new location' button when receiving parts by individual line
This commit is contained in:
		| @@ -202,7 +202,15 @@ $("#po-lines-table").on('click', ".line-receive", function() { | ||||
|         reload: true, | ||||
|         data: { | ||||
|             line: button.attr('pk') | ||||
|         } | ||||
|         }, | ||||
|         secondary: [ | ||||
|             { | ||||
|                 field: 'location', | ||||
|                 label: 'New Location', | ||||
|                 title: 'Create new stock location', | ||||
|                 url: "{% url 'stock-location-create' %}", | ||||
|             }, | ||||
|         ] | ||||
|     }); | ||||
| }); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user