Fix enum display for customer order status
This commit is contained in:
parent
70c5e36ccb
commit
e4e0d81f6e
|
@ -91,6 +91,8 @@ class CustomerOrderView(MasterView):
|
||||||
g.set_sorter('customer', model.Customer.name)
|
g.set_sorter('customer', model.Customer.name)
|
||||||
g.set_sorter('person', model.Person.display_name)
|
g.set_sorter('person', model.Person.display_name)
|
||||||
|
|
||||||
|
g.set_enum('status_code', self.enum.CUSTORDER_STATUS)
|
||||||
|
|
||||||
g.set_sort_defaults('created', 'desc')
|
g.set_sort_defaults('created', 'desc')
|
||||||
|
|
||||||
# TODO: enum choices renderer
|
# TODO: enum choices renderer
|
||||||
|
|
Loading…
Reference in a new issue