Fix enum display for customer order status

This commit is contained in:
Lance Edgar 2021-03-11 08:47:27 -06:00
parent 70c5e36ccb
commit e4e0d81f6e

View file

@ -91,6 +91,8 @@ class CustomerOrderView(MasterView):
g.set_sorter('customer', model.Customer.name)
g.set_sorter('person', model.Person.display_name)
g.set_enum('status_code', self.enum.CUSTORDER_STATUS)
g.set_sort_defaults('created', 'desc')
# TODO: enum choices renderer