Add highlight for "cost not found" rows in purchasing batch
This commit is contained in:
parent
49f241a4b9
commit
6b01a7e888
|
@ -612,7 +612,8 @@ class PurchasingBatchView(BatchMasterView):
|
|||
def row_grid_extra_class(self, row, i):
|
||||
if row.status_code == row.STATUS_PRODUCT_NOT_FOUND:
|
||||
return 'warning'
|
||||
if row.status_code in (row.STATUS_INCOMPLETE,
|
||||
if row.status_code in (row.STATUS_COST_NOT_FOUND,
|
||||
row.STATUS_INCOMPLETE,
|
||||
row.STATUS_ORDERED_RECEIVED_DIFFER,
|
||||
row.STATUS_TRUCKDUMP_UNCLAIMED):
|
||||
return 'notice'
|
||||
|
|
Loading…
Reference in a new issue