From b2f96f42170cdd7cb839e215eafdd2bb0798b4dc Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 22 Jun 2017 01:21:15 -0500 Subject: [PATCH] Make case/unit quantities prettier within Inventory batch rows grid --- tailbone/views/inventory.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tailbone/views/inventory.py b/tailbone/views/inventory.py index 5b4c98a3..0a7a1d92 100644 --- a/tailbone/views/inventory.py +++ b/tailbone/views/inventory.py @@ -89,6 +89,8 @@ class InventoryBatchView(BatchMasterView): super(InventoryBatchView, self)._preconfigure_row_grid(g) g.upc.set(label="UPC") g.brand_name.set(label="Brand") + g.cases.set(renderer=forms.renderers.QuantityFieldRenderer) + g.units.set(renderer=forms.renderers.QuantityFieldRenderer) g.status_code.set(label="Status") def configure_row_grid(self, g):