Tweak filter for CustomerOrderItem grid

This commit is contained in:
Lance Edgar 2017-02-21 11:36:17 -06:00
parent e0521ba8c5
commit 080e3080af

View file

@ -86,6 +86,7 @@ class CustomerOrderItemsView(MasterView):
g.total_price.set(renderer=forms.renderers.CurrencyFieldRenderer) g.total_price.set(renderer=forms.renderers.CurrencyFieldRenderer)
g.filters['status_code'].label = "Status"
g.status_code.set(label="Status") g.status_code.set(label="Status")
g.append(fa.Field('person', value=lambda i: i.order.person)) g.append(fa.Field('person', value=lambda i: i.order.person))