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 = [ |     grid_columns = [ | ||||||
|         'id', |         'id', | ||||||
|         'name', |         'name', | ||||||
|  |         'abbreviation', | ||||||
|         'phone', |         'phone', | ||||||
|         'email', |         'email', | ||||||
|         'contact', |         'contact', | ||||||
|  | @ -59,6 +60,7 @@ class VendorsView(MasterView): | ||||||
|     form_fields = [ |     form_fields = [ | ||||||
|         'id', |         'id', | ||||||
|         'name', |         'name', | ||||||
|  |         'abbreviation', | ||||||
|         'special_discount', |         'special_discount', | ||||||
|         'lead_time_days', |         'lead_time_days', | ||||||
|         'order_interval_days', |         'order_interval_days', | ||||||
|  | @ -80,6 +82,7 @@ class VendorsView(MasterView): | ||||||
| 
 | 
 | ||||||
|         g.set_link('id') |         g.set_link('id') | ||||||
|         g.set_link('name') |         g.set_link('name') | ||||||
|  |         g.set_link('abbreviation') | ||||||
| 
 | 
 | ||||||
|     def configure_form(self, f): |     def configure_form(self, f): | ||||||
|         super(VendorsView, self).configure_form(f) |         super(VendorsView, self).configure_form(f) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar