Tweak filter for CustomerOrderItem grid
This commit is contained in:
parent
e0521ba8c5
commit
080e3080af
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue