From e3345645201e6ad3e263666d3daf60394dd4f2f9 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 11 Jan 2018 13:07:10 -0600 Subject: [PATCH] Show case quantity for inventory batch rows --- tailbone/views/inventory.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tailbone/views/inventory.py b/tailbone/views/inventory.py index 5b8b4762..bb47f7dc 100644 --- a/tailbone/views/inventory.py +++ b/tailbone/views/inventory.py @@ -355,6 +355,7 @@ class InventoryBatchView(BatchMasterView): fs.description.set(readonly=True) fs.size.set(readonly=True) fs.previous_units_on_hand.set(label="Prev. On Hand") + fs.case_quantity.set(renderer=forms.renderers.QuantityFieldRenderer) fs.cases.set(renderer=forms.renderers.QuantityFieldRenderer) fs.units.set(renderer=forms.renderers.QuantityFieldRenderer) fs.unit_cost.set(readonly=True, renderer=forms.renderers.CurrencyFieldRenderer) @@ -370,6 +371,7 @@ class InventoryBatchView(BatchMasterView): fs.size, fs.status_code, fs.previous_units_on_hand, + fs.case_quantity, fs.cases, fs.units, fs.unit_cost,