diff --git a/tailbone/views/purchasing/receiving.py b/tailbone/views/purchasing/receiving.py index 884dd291..7af5536a 100644 --- a/tailbone/views/purchasing/receiving.py +++ b/tailbone/views/purchasing/receiving.py @@ -175,6 +175,7 @@ class ReceivingBatchView(PurchasingBatchView): 'brand_name', 'description', 'size', + 'department_name', 'cases_ordered', 'units_ordered', 'cases_received', @@ -556,6 +557,10 @@ class ReceivingBatchView(PurchasingBatchView): if batch.truck_dump: f.remove_field('department') + def configure_row_grid(self, g): + super(ReceivingBatchView, self).configure_row_grid(g) + g.set_label('department_name', "Department") + def configure_row_form(self, f): super(ReceivingBatchView, self).configure_row_form(f) f.set_readonly('cases_ordered')