diff --git a/tailbone/views/batch/delproduct.py b/tailbone/views/batch/delproduct.py index bcb0795b..1912c48e 100644 --- a/tailbone/views/batch/delproduct.py +++ b/tailbone/views/batch/delproduct.py @@ -76,7 +76,8 @@ class DeleteProductBatchView(BatchMasterView): def row_grid_extra_class(self, row, i): if row.status_code == row.STATUS_PRODUCT_NOT_FOUND: return 'warning' - if row.status_code == row.STATUS_DELETE_NOT_ALLOWED: + if row.status_code in (row.STATUS_DELETE_NOT_ALLOWED, + row.STATUS_PENDING_CUSTOMER_ORDERS): return 'notice'