From 7651efff9d7e0d7329f5998a9505d32e47b9b181 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sun, 31 Oct 2021 11:56:46 -0500 Subject: [PATCH] Highlight "cannot calculate price" rows for new product batch --- tailbone/views/batch/newproduct.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tailbone/views/batch/newproduct.py b/tailbone/views/batch/newproduct.py index b56d008e..e74ffcf6 100644 --- a/tailbone/views/batch/newproduct.py +++ b/tailbone/views/batch/newproduct.py @@ -2,7 +2,7 @@ ################################################################################ # # Rattail -- Retail Software Framework -# Copyright © 2010-2019 Lance Edgar +# Copyright © 2010-2021 Lance Edgar # # This file is part of Rattail. # @@ -136,7 +136,8 @@ class NewProductBatchView(BatchMasterView): return 'warning' if row.status_code in (row.STATUS_CATEGORY_NOT_FOUND, row.STATUS_FAMILY_NOT_FOUND, - row.STATUS_REPORTCODE_NOT_FOUND): + row.STATUS_REPORTCODE_NOT_FOUND, + row.STATUS_CANNOT_CALCULATE_PRICE): return 'notice' def configure_row_form(self, f):