Expose new Vendor.abbreviation field

This commit is contained in:
Lance Edgar 2018-06-01 15:03:42 -05:00
parent 8b46c1e3f0
commit 2923585bd3

View file

@ -51,6 +51,7 @@ class VendorsView(MasterView):
grid_columns = [ grid_columns = [
'id', 'id',
'name', 'name',
'abbreviation',
'phone', 'phone',
'email', 'email',
'contact', 'contact',
@ -59,6 +60,7 @@ class VendorsView(MasterView):
form_fields = [ form_fields = [
'id', 'id',
'name', 'name',
'abbreviation',
'special_discount', 'special_discount',
'lead_time_days', 'lead_time_days',
'order_interval_days', 'order_interval_days',
@ -80,6 +82,7 @@ class VendorsView(MasterView):
g.set_link('id') g.set_link('id')
g.set_link('name') g.set_link('name')
g.set_link('abbreviation')
def configure_form(self, f): def configure_form(self, f):
super(VendorsView, self).configure_form(f) super(VendorsView, self).configure_form(f)