Highlight "cost not found" as warning, for purchasing batch
This commit is contained in:
		
							parent
							
								
									1342d67746
								
							
						
					
					
						commit
						350e901c2a
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -610,10 +610,10 @@ class PurchasingBatchView(BatchMasterView): | |||
|         return self.make_default_row_grid_tools(batch) | ||||
| 
 | ||||
|     def row_grid_extra_class(self, row, i): | ||||
|         if row.status_code == row.STATUS_PRODUCT_NOT_FOUND: | ||||
|         if row.status_code in (row.STATUS_PRODUCT_NOT_FOUND, | ||||
|                                row.STATUS_COST_NOT_FOUND): | ||||
|             return 'warning' | ||||
|         if row.status_code in (row.STATUS_COST_NOT_FOUND, | ||||
|                                row.STATUS_INCOMPLETE, | ||||
|         if row.status_code in (row.STATUS_INCOMPLETE, | ||||
|                                row.STATUS_ORDERED_RECEIVED_DIFFER, | ||||
|                                row.STATUS_TRUCKDUMP_UNCLAIMED): | ||||
|             return 'notice' | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar