diff --git a/tailbone/views/purchasing/costing.py b/tailbone/views/purchasing/costing.py index daf016a9..71b99cf2 100644 --- a/tailbone/views/purchasing/costing.py +++ b/tailbone/views/purchasing/costing.py @@ -110,6 +110,7 @@ class CostingBatchView(PurchasingBatchView): 'department_name', 'cases_received', 'units_received', + 'case_quantity', 'catalog_unit_cost', 'invoice_unit_cost', # 'invoice_total_calculated', @@ -318,6 +319,13 @@ class CostingBatchView(PurchasingBatchView): if info: return info['display'] + def configure_row_grid(self, g): + super(CostingBatchView, self).configure_row_grid(g) + + g.set_label('case_quantity', "Case Qty") + g.filters['case_quantity'].label = "Case Quantity" + g.set_type('case_quantity', 'quantity') + @classmethod def defaults(cls, config): cls._costing_defaults(config)