mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Allow "tracked" stock items to be installed, rather than just serialized
This commit is contained in:
		| @@ -2659,7 +2659,8 @@ function installStockItem(stock_item_id, part_id, options={}) { | ||||
|         <ul> | ||||
|             <li>{% trans "The Stock Item links to a Part which is the BOM for this Stock Item" %}</li> | ||||
|             <li>{% trans "The Stock Item is currently available in stock" %}</li> | ||||
|             <li>{% trans "The Stock Item is serialized and does not belong to another item" %}</li> | ||||
|             <li>{% trans "The Stock Item is not already installed in another item" %}</li> | ||||
|             <li>{% trans "The Stock Item is tracked by either a batch code or serial number" %}</li> | ||||
|         </ul> | ||||
|     </div>`; | ||||
|  | ||||
| @@ -2685,7 +2686,7 @@ function installStockItem(stock_item_id, part_id, options={}) { | ||||
|                     filters: { | ||||
|                         part_detail: true, | ||||
|                         in_stock: true, | ||||
|                         serialized: true, | ||||
|                         tracked: true, | ||||
|                     }, | ||||
|                     adjustFilters: function(filters, opts) { | ||||
|                         var part = getFormFieldValue('part', {}, opts); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user