mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Tweak for part.js
This commit is contained in:
		| @@ -373,6 +373,9 @@ function duplicatePart(pk, options={}) { | ||||
|  | ||||
|                 // Override the "variant_of" field | ||||
|                 data.variant_of = pk; | ||||
|  | ||||
|                 // By default, disable "is_template" when making a variant *of* a template | ||||
|                 data.is_template = false; | ||||
|             } | ||||
|              | ||||
|             constructForm('{% url "api-part-list" %}', { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user