Oliver Walters 
							
						 
					 
					
						
						
							
						
						a263d2fdcd 
					 
					
						
						
							
							Fixes for "auto allocate" concept  
						
						 
						
						
						
						
					 
					
						2020-10-29 00:49:01 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						4a7e9a2278 
					 
					
						
						
							
							Update translations and PEP fixes  
						
						 
						
						
						
						
					 
					
						2020-10-28 23:59:18 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						091a9d9803 
					 
					
						
						
							
							Refactor how form errors are handled  
						
						 
						
						... 
						
						
						
						- When in doubt, refer to the django docs
- There was a *much* better way (thanks, form.add_error)!
- The anti-pattern was deleted, and lo, there was much rejoicing
- Some other refactoring too 
						
						
					 
					
						2020-10-28 23:33:33 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						d06b4d7c9f 
					 
					
						
						
							
							Merge remote-tracking branch 'inventree/master' into build-fixes  
						
						 
						
						... 
						
						
						
						# Conflicts:
#	InvenTree/InvenTree/urls.py
#	InvenTree/locale/de/LC_MESSAGES/django.mo
#	InvenTree/locale/de/LC_MESSAGES/django.po
#	InvenTree/locale/en/LC_MESSAGES/django.po
#	InvenTree/locale/es/LC_MESSAGES/django.po
#	InvenTree/part/templates/part/bom.html
#	InvenTree/templates/js/build.js
#	InvenTree/templates/js/table_filters.js
#	InvenTree/templates/stock_table.html
#	tasks.py 
						
						
					 
					
						2020-10-28 22:25:14 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						d0b7d91ca4 
					 
					
						
						
							
							Update multiple templates with fontawesome icons  
						
						 
						
						
						
						
					 
					
						2020-10-28 18:30:38 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						646fe40950 
					 
					
						
						
							
							Require either serial or batch number to be set for trackable part  
						
						 
						
						
						
						
					 
					
						2020-10-27 22:00:38 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						b45a11aa3d 
					 
					
						
						
							
							Refactor: Add "makeIconBadge" javascript function  
						
						 
						
						
						
						
					 
					
						2020-10-24 00:33:30 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						fb7d9a7edf 
					 
					
						
						
							
							Move "getAvailableStockItems" to the build model  
						
						 
						
						
						
						
					 
					
						2020-10-23 23:33:27 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						e02536071d 
					 
					
						
						
							
							Add a "completed" field to the Build model  
						
						 
						
						... 
						
						
						
						- Keeps track of how many outputs have been produced
- Will not be directly editable by the user 
						
						
					 
					
						2020-10-20 23:59:37 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						3bb247a135 
					 
					
						
						
							
							Create an initial stockitem output when a new build is created  
						
						 
						
						
						
						
					 
					
						2020-10-20 23:27:43 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						652c2dbcbe 
					 
					
						
						
							
							Automagically disable 'serial_numbers' field for StockItemCreate form  
						
						 
						
						... 
						
						
						
						- Yay, ajax magic! 
						
						
					 
					
						2020-10-20 22:37:55 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						28460b3023 
					 
					
						
						
							
							Validate that the BuildItem quantity is an integer  
						
						 
						
						
						
						
					 
					
						2020-10-20 20:42:29 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						fdcef7b699 
					 
					
						
						
							
							Add "install_into" field for BuildItem  
						
						 
						
						... 
						
						
						
						- Points to which output stock item it will be going into 
						
						
					 
					
						2020-10-20 20:37:57 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						647e2cf64d 
					 
					
						
						
							
							Change text for barcode  
						
						 
						
						
						
						
					 
					
						2020-10-19 16:06:18 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						634410294b 
					 
					
						
						
							
							Display table of items received against a particular purchase order  
						
						 
						
						... 
						
						
						
						- Adds new tab to "Purchase Order" view
- Adds ability to filter StockList API by purchase_order ID 
						
						
					 
					
						2020-10-19 11:40:57 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						3c175a6c8d 
					 
					
						
						
							
							Update creation of StockItem via API  
						
						 
						
						... 
						
						
						
						- If no location is specified, but a default location exists for the part, use that
- If a location is specified (even if it is null) then the specified value is used instead 
						
						
					 
					
						2020-10-18 22:24:45 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								eeintech 
							
						 
					 
					
						
						
							
						
						dbee26aaad 
					 
					
						
						
							
							Fixed insertion of backslash in the barcode button group  
						
						 
						
						
						
						
					 
					
						2020-10-13 10:29:34 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								eeintech 
							
						 
					 
					
						
						
							
						
						5bcf8529ff 
					 
					
						
						
							
							Only users with Part view permission have part URL shown  
						
						 
						
						
						
						
					 
					
						2020-10-06 09:16:38 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								eeintech 
							
						 
					 
					
						
						
							
						
						e4ce19d22a 
					 
					
						
						
							
							Added Test user and all permissions  
						
						 
						
						
						
						
					 
					
						2020-10-06 09:02:10 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								eeintech 
							
						 
					 
					
						
						
							
						
						095cfe9845 
					 
					
						
						
							
							Updated Stock permission views and templates  
						
						 
						
						
						
						
					 
					
						2020-10-06 08:55:40 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						ab454e5ba4 
					 
					
						
						
							
							More template changes: perms -> roles  
						
						 
						
						
						
						
					 
					
						2020-10-06 16:46:13 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						dc2c9aa662 
					 
					
						
						
							
							Add InvenTreeRoleMixin  
						
						 
						
						... 
						
						
						
						- Simplifies permission requirements for views
- e.g. 'part.view' rather than 'part.view_partcategory' 
						
						
					 
					
						2020-10-06 11:29:38 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						3f59ce3f93 
					 
					
						
						
							
							Update unit tests  
						
						 
						
						... 
						
						
						
						- requires the user to actually have the necessary permissions! 
						
						
					 
					
						2020-10-06 01:30:36 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						16d720b62c 
					 
					
						
						
							
							Update permission requirements for API  
						
						 
						
						... 
						
						
						
						- Automatically use model permissions by default!
- 
						
						
					 
					
						2020-10-06 00:36:55 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						48e050d317 
					 
					
						
						
							
							Add some more unit tests and validation code for the StockItem model  
						
						 
						
						... 
						
						
						
						- Ensure that the build part matches the stockitem part! 
						
						
					 
					
						2020-10-05 00:49:00 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						c1595396c4 
					 
					
						
						
							
							Unit testing: fix PEP issues  
						
						 
						
						
						
						
					 
					
						2020-10-05 00:29:31 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						fe3a72c6cc 
					 
					
						
						
							
							Add some unit testing  
						
						 
						
						
						
						
					 
					
						2020-10-05 00:29:06 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						26d113e8ad 
					 
					
						
						
							
							Update IN_STOCK_FILTER to reject stock items which have is_building set to True  
						
						 
						
						
						
						
					 
					
						2020-10-05 00:14:04 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						ee28b4eea5 
					 
					
						
						
							
							Add "is_building" field to StockItem model  
						
						 
						
						... 
						
						
						
						- This will be set to TRUE until a stock item has been completed 
						
						
					 
					
						2020-10-05 00:12:42 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						62734c4b72 
					 
					
						
						
							
							Add a custom template for the install item form  
						
						 
						
						
						
						
					 
					
						2020-10-05 00:01:01 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						3fe0886207 
					 
					
						
						
							
							Remove a debug statement  
						
						 
						
						
						
						
					 
					
						2020-10-04 23:49:01 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						852da6d696 
					 
					
						
						
							
							Fix form validation  
						
						 
						
						
						
						
					 
					
						2020-10-04 23:48:15 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						42a75a8238 
					 
					
						
						
							
							Add hidden input to the InstallStockForm form  
						
						 
						
						... 
						
						
						
						- keeps track of "part" object
- so we can filter the stock_items queryset if the form validation fails
- Is there a more djangonic way of doing this?? 
						
						
					 
					
						2020-10-04 23:45:52 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						b9291c6705 
					 
					
						
						
							
							Improve transaction note recording for the StockItem model  
						
						 
						
						
						
						
					 
					
						2020-10-04 23:33:43 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						3c5968ef1a 
					 
					
						
						
							
							Add subrow table to the "installed items" view  
						
						 
						
						... 
						
						
						
						Ah, javascript... 
						
						
					 
					
						2020-10-04 22:58:41 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						9c27680202 
					 
					
						
						
							
							Finish function to install stock item(s)  
						
						 
						
						
						
						
					 
					
						2020-10-04 21:32:21 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						45c888e13d 
					 
					
						
						
							
							Custom cleaning for form  
						
						 
						
						... 
						
						
						
						Ok, looks like I've been doing this wrong the whole time!
The "djangonic" way is pretty cool 
						
						
					 
					
						2020-10-04 21:31:44 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						a686500df1 
					 
					
						
						
							
							Calculate initial values for the view  
						
						 
						
						
						
						
					 
					
						2020-10-04 21:02:20 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						fd22e713ff 
					 
					
						
						
							
							Filter available stock items by Part reference  
						
						 
						
						
						
						
					 
					
						2020-10-04 20:50:06 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						f04977e7e1 
					 
					
						
						
							
							Add form / view for installing a stock item into another stock item  
						
						 
						
						
						
						
					 
					
						2020-10-04 20:41:28 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						27656633df 
					 
					
						
						
							
							Update admin links to require specific permissions  
						
						 
						
						
						
						
					 
					
						2020-09-30 23:57:23 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						4f1d087654 
					 
					
						
						
							
							PEP fix  
						
						 
						
						
						
						
					 
					
						2020-09-30 07:56:44 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						d1cce7df94 
					 
					
						
						
							
							Add direct admin links if the user is staff  
						
						 
						
						
						
						
					 
					
						2020-09-30 00:02:10 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						0e5f10c020 
					 
					
						
						
							
							Add some more search terms to the admin interface  
						
						 
						
						
						
						
					 
					
						2020-09-29 23:41:50 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						1f6cbd7408 
					 
					
						
						
							
							Add action to uninstall a particular stock item  
						
						 
						
						
						
						
					 
					
						2020-09-29 23:11:37 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						38beaff01b 
					 
					
						
						
							
							peppy  
						
						 
						
						
						
						
					 
					
						2020-09-28 22:09:09 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						d348d90fbe 
					 
					
						
						
							
							Cleanup errors in unit testing  
						
						 
						
						
						
						
					 
					
						2020-09-28 22:08:38 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						54bfcff213 
					 
					
						
						
							
							CHange "parts" to "items"  
						
						 
						
						
						
						
					 
					
						2020-09-28 22:03:41 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						b2b22762ef 
					 
					
						
						
							
							style fixes  
						
						 
						
						
						
						
					 
					
						2020-09-28 22:01:45 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						a18886f196 
					 
					
						
						
							
							Add some unit tests for the new functions  
						
						 
						
						
						
						
					 
					
						2020-09-28 22:00:17 +10:00