Add warning status for products with missing cost in vendor invoices.

This commit is contained in:
Lance Edgar 2015-02-24 19:55:29 -06:00
parent ce2b29433d
commit e11a599f92

View file

@ -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'