From 2923585bd334bfd1b2c1c1aadd1b61550d1caa28 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 1 Jun 2018 15:03:42 -0500 Subject: [PATCH] Expose new `Vendor.abbreviation` field --- tailbone/views/vendors/core.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tailbone/views/vendors/core.py b/tailbone/views/vendors/core.py index 755946f1..fe38dcc7 100644 --- a/tailbone/views/vendors/core.py +++ b/tailbone/views/vendors/core.py @@ -51,6 +51,7 @@ class VendorsView(MasterView): grid_columns = [ 'id', 'name', + 'abbreviation', 'phone', 'email', 'contact', @@ -59,6 +60,7 @@ class VendorsView(MasterView): form_fields = [ 'id', 'name', + 'abbreviation', 'special_discount', 'lead_time_days', 'order_interval_days', @@ -80,6 +82,7 @@ class VendorsView(MasterView): g.set_link('id') g.set_link('name') + g.set_link('abbreviation') def configure_form(self, f): super(VendorsView, self).configure_form(f)