Oliver Walters 
							
						 
					 
					
						
						
							
						
						c45a506a10 
					 
					
						
						
							
							Rename field part.has_variants to part.is_template  
						
						
						
						
					 
					
						2019-05-25 23:58:31 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						75d38489d7 
					 
					
						
						
							
							Add ability to filter stock by variants for a templated part  
						
						
						
						
					 
					
						2019-05-25 23:26:46 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						d70110690b 
					 
					
						
						
							
							Validate uniqueness for StockItems  
						
						... 
						
						
						
						- If the Part is a variant of a template, ensure that the serial numbers are unique across all instances of the template
- Prevent instantiation of a StockItem for a part which has variants 
						
						
					 
					
						2019-05-25 23:09:04 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						1a2fb9e170 
					 
					
						
						
							
							Add 'has_variants' and 'variant_of' field for Part  
						
						... 
						
						
						
						- StockItem cannot point to a part which is a template part 
						
						
					 
					
						2019-05-25 22:27:36 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						5664fc5472 
					 
					
						
						
							
							Detail in StockItem API now optional  
						
						
						
						
					 
					
						2019-05-23 22:57:45 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						18ff80312b 
					 
					
						
						
							
							Fixes  
						
						
						
						
					 
					
						2019-05-20 22:53:01 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						4bde00d925 
					 
					
						
						
							
							AND AGAIN  
						
						... 
						
						
						
						Use --fake to force the migration 
						
						
					 
					
						2019-05-20 22:24:18 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						70be052c74 
					 
					
						
						
							
							Rebuilt migrations again (arrrrrrrrrrrrrrrrrrrrrrrrrrgh never do this)  
						
						
						
						
					 
					
						2019-05-20 21:45:37 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						fc75ab7420 
					 
					
						
						
							
							Reduce response time for stock list  
						
						... 
						
						
						
						Initial time - 6.2s
After prefetch - 4.3s 
						
						
					 
					
						2019-05-20 08:44:52 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						9ddedc6915 
					 
					
						
						
							
							Restart migrations  
						
						... 
						
						
						
						- Easier to delete all the migrations and start again :'( 
						
						
					 
					
						2019-05-19 00:11:41 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						a8846dc515 
					 
					
						
						
							
							Hopefully fix the thingy  
						
						
						
						
					 
					
						2019-05-18 23:52:22 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						0cfb243eb3 
					 
					
						
						
							
							Move SupplierPart and SupplierPriceBreak to the 'Company' app  
						
						... 
						
						
						
						- https://docs.djangoproject.com/en/2.2/ref/models/options/#django.db.models.Options.db_table 
- https://stackoverflow.com/questions/3519143/django-how-to-specify-a-database-for-a-model 
- And others, presumably 
						
						
					 
					
						2019-05-18 23:08:34 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						117fd701cd 
					 
					
						
						
							
							Refactor some code  
						
						
						
						
					 
					
						2019-05-16 22:19:49 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						0a1887477c 
					 
					
						
						
							
							Create template for stock table  
						
						
						
						
					 
					
						2019-05-16 22:15:44 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						1b06cd23af 
					 
					
						
						
							
							Add 'stock' tab for supplier page  
						
						
						
						
					 
					
						2019-05-16 21:16:19 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						c1224048ad 
					 
					
						
						
							
							Add ability to filter stock by supplier  
						
						
						
						
					 
					
						2019-05-16 21:01:34 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						b4df96aaee 
					 
					
						
						
							
							Simplify extended filters  
						
						
						
						
					 
					
						2019-05-16 19:14:43 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						e1558a7a96 
					 
					
						
						
							
							Add ability to filter stock items by part category  
						
						... 
						
						
						
						- Using the REST API
- Add &category=x to the query string
- Add &include_child_categories to include child categories 
						
						
					 
					
						2019-05-16 18:54:14 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						292e29e95e 
					 
					
						
						
							
							Add some more secondary modals  
						
						
						
						
					 
					
						2019-05-15 07:50:54 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						f979edef8e 
					 
					
						
						
							
							Prevent double loading of stock.js  
						
						
						
						
					 
					
						2019-05-14 23:47:15 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						58cc1cda77 
					 
					
						
						
							
							Only load api.js once  
						
						
						
						
					 
					
						2019-05-14 23:43:16 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						9d50f2a6ac 
					 
					
						
						
							
							Toot toot all aboard the refactor tractor  
						
						... 
						
						
						
						- launchModalForm now accepts a 'secondary' parameter which is a list of secondary modals to attach 
						
						
					 
					
						2019-05-14 23:27:45 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						be1b458634 
					 
					
						
						
							
							Upon successful creation (in a secondary modal) update the field in the primary modal  
						
						
						
						
					 
					
						2019-05-14 23:04:49 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						226644e59a 
					 
					
						
						
							
							Open a secondary modal over the top of a primary one  
						
						
						
						
					 
					
						2019-05-14 22:37:45 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						dc3abec899 
					 
					
						
						
							
							Add a secondary modal in modals.html  
						
						
						
						
					 
					
						2019-05-14 22:30:24 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						d679ee9971 
					 
					
						
						
							
							Update form for deleting stock location  
						
						
						
						
					 
					
						2019-05-13 22:58:42 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						a78106526a 
					 
					
						
						
							
							Remove launchDeleteForm JS function  
						
						... 
						
						
						
						- All should be consolidated upon launchModalForm
- StockItem delete now uses this 
						
						
					 
					
						2019-05-13 22:47:36 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						150c68e65b 
					 
					
						
						
							
							Bug fix  
						
						... 
						
						
						
						- Turns out 'item_count' was actually used for something (that I wrote... recently...) 
						
						
					 
					
						2019-05-13 18:52:54 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						b7d3bbd836 
					 
					
						
						
							
							PEP  
						
						
						
						
					 
					
						2019-05-13 18:46:48 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						0813f8cbd5 
					 
					
						
						
							
							More test coverage for Stock  
						
						
						
						
					 
					
						2019-05-13 18:45:52 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						f410957d8d 
					 
					
						
						
							
							Refactored Stock test to use fixtures  
						
						
						
						
					 
					
						2019-05-12 21:46:38 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						25e41b3fa2 
					 
					
						
						
							
							Allow null values for StockItem.updated  
						
						... 
						
						
						
						- Just to make the tests run better 
						
						
					 
					
						2019-05-12 21:20:43 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						1d36ea3e2e 
					 
					
						
						
							
							Add a 'full_name' field for Part  
						
						... 
						
						
						
						- Combines IPN | Name | Variant
- Use this to display in most views 
						
						
					 
					
						2019-05-12 12:16:04 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						b73583be40 
					 
					
						
						
							
							Make the 'quantity' field optional in the stock move API  
						
						... 
						
						
						
						If not specified, the entire quantity will be moved 
						
						
					 
					
						2019-05-11 09:02:30 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						271c684b22 
					 
					
						
						
							
							Making the frog happy  
						
						
						
						
					 
					
						2019-05-11 00:43:02 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						97b9cac205 
					 
					
						
						
							
							Successfully move multiple parts with partial quantities  
						
						
						
						
					 
					
						2019-05-11 00:42:24 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						306a981ca1 
					 
					
						
						
							
							Allow partial-quantity move  
						
						... 
						
						
						
						- Automatically split out the stock
- Move the specified quantity to the new location 
						
						
					 
					
						2019-05-11 00:40:37 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						c376f38a8d 
					 
					
						
						
							
							Added function to split stock  
						
						... 
						
						
						
						- Specify the quantity to move into the NEW stock item
- The left over quantity will remain in the current stock item 
						
						
					 
					
						2019-05-11 00:37:54 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						6561a613d7 
					 
					
						
						
							
							Add extra validation step  
						
						
						
						
					 
					
						2019-05-11 00:07:21 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						8d5c4c521c 
					 
					
						
						
							
							Pass stock move quantity through per item  
						
						
						
						
					 
					
						2019-05-11 00:04:45 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						ba2f565e35 
					 
					
						
						
							
							docstring improvements  
						
						... 
						
						
						
						- Added Attribute docstring to all model objects 
						
						
					 
					
						2019-05-10 20:11:52 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver 
							
						 
					 
					
						
						
							
						
						e1fbd4611f 
					 
					
						
						
							
							Merge pull request  #289  from SchrodingersGat/delete_on_empty  
						
						... 
						
						
						
						Delete on empty 
						
						
					 
					
						2019-05-09 23:26:19 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver 
							
						 
					 
					
						
						
							
						
						793b4f8063 
					 
					
						
						
							
							Merge pull request  #288  from SchrodingersGat/tree-badges  
						
						... 
						
						
						
						Tree badges 
						
						
					 
					
						2019-05-09 23:06:32 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						027e1cf130 
					 
					
						
						
							
							Add ability to edit 'delete_on_deplete' field  
						
						
						
						
					 
					
						2019-05-09 23:06:19 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						ac326c135f 
					 
					
						
						
							
							Auto delete stock items when they are depleted  
						
						
						
						
					 
					
						2019-05-09 23:01:32 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						61351a8f8d 
					 
					
						
						
							
							Renamed add_transaction_note to addTransactionNote  
						
						
						
						
					 
					
						2019-05-09 22:52:38 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						92930766c6 
					 
					
						
						
							
							Tree view now supports root URL link  
						
						
						
						
					 
					
						2019-05-09 22:23:56 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						34225193fa 
					 
					
						
						
							
							Improve tree toggle icon  
						
						
						
						
					 
					
						2019-05-09 21:46:11 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						bff0f30b13 
					 
					
						
						
							
							Save tree state 'per tree'  
						
						... 
						
						
						
						- Separate save state for Part and Stock tree 
						
						
					 
					
						2019-05-09 21:41:44 +10:00 
						 
				 
			
				
					
						
							
							
								Oliver Walters 
							
						 
					 
					
						
						
							
						
						45223fb607 
					 
					
						
						
							
							Display count badges in sidenav tree  
						
						... 
						
						
						
						Uses the 'tags' parameter as according to the docs - https://github.com/jonmiles/bootstrap-treeview 
- Part
- Stock 
						
						
					 
					
						2019-05-09 20:30:23 +10:00