Add warning status for products with missing cost in vendor invoices.
This commit is contained in:
		
							parent
							
								
									ce2b29433d
								
							
						
					
					
						commit
						e11a599f92
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		
							
								
								
									
										3
									
								
								tailbone/views/vendors/invoices.py
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								tailbone/views/vendors/invoices.py
									
										
									
									
										vendored
									
									
								
							|  | @ -174,7 +174,8 @@ class VendorInvoiceRowGrid(BatchRowGrid): | |||
|                                 row.STATUS_NOT_IN_INVOICE, | ||||
|                                 row.STATUS_DIFFERS_FROM_PURCHASE)): | ||||
|             return 'notice' | ||||
|         if row.status_code == row.STATUS_NOT_IN_DB: | ||||
|         if row.status_code in (row.STATUS_NOT_IN_DB, | ||||
|                                row.STATUS_COST_NOT_IN_DB): | ||||
|             return 'warning' | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar