Make field list explicit for Department views

This commit is contained in:
Lance Edgar 2020-07-04 11:44:09 -05:00
parent 4f2f192783
commit 793d80f092

View file

@ -52,6 +52,14 @@ class DepartmentsView(MasterView):
'exempt_from_gross_sales', 'exempt_from_gross_sales',
] ]
form_fields = [
'number',
'name',
'product',
'personnel',
'exempt_from_gross_sales',
]
def configure_grid(self, g): def configure_grid(self, g):
super(DepartmentsView, self).configure_grid(g) super(DepartmentsView, self).configure_grid(g)
g.filters['name'].default_active = True g.filters['name'].default_active = True