Expose new Vendor.abbreviation field
				
					
				
			This commit is contained in:
		
							parent
							
								
									8b46c1e3f0
								
							
						
					
					
						commit
						2923585bd3
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		
							
								
								
									
										3
									
								
								tailbone/views/vendors/core.py
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								tailbone/views/vendors/core.py
									
										
									
									
										vendored
									
									
								
							|  | @ -51,6 +51,7 @@ class VendorsView(MasterView): | |||
|     grid_columns = [ | ||||
|         'id', | ||||
|         'name', | ||||
|         'abbreviation', | ||||
|         'phone', | ||||
|         'email', | ||||
|         'contact', | ||||
|  | @ -59,6 +60,7 @@ class VendorsView(MasterView): | |||
|     form_fields = [ | ||||
|         'id', | ||||
|         'name', | ||||
|         'abbreviation', | ||||
|         'special_discount', | ||||
|         'lead_time_days', | ||||
|         'order_interval_days', | ||||
|  | @ -80,6 +82,7 @@ class VendorsView(MasterView): | |||
| 
 | ||||
|         g.set_link('id') | ||||
|         g.set_link('name') | ||||
|         g.set_link('abbreviation') | ||||
| 
 | ||||
|     def configure_form(self, f): | ||||
|         super(VendorsView, self).configure_form(f) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar