Add basic "pending product" support for new custorder batch
This commit is contained in:
		
							parent
							
								
									408bffb775
								
							
						
					
					
						commit
						c0db03bc28
					
				
					 13 changed files with 844 additions and 234 deletions
				
			
		|  | @ -623,16 +623,6 @@ class BatchMasterView(MasterView): | |||
|     def get_row_status_enum(self): | ||||
|         return self.model_row_class.STATUS | ||||
| 
 | ||||
|     def render_upc(self, row, field): | ||||
|         upc = row.upc | ||||
|         if not upc: | ||||
|             return "" | ||||
|         text = upc.pretty() | ||||
|         if row.product_uuid: | ||||
|             url = self.request.route_url('products.view', uuid=row.product_uuid) | ||||
|             return tags.link_to(text, url) | ||||
|         return text | ||||
| 
 | ||||
|     def render_upc_pretty(self, row, field): | ||||
|         upc = getattr(row, field) | ||||
|         if upc: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar