Use all "normal" product form fields, for mobile view
This commit is contained in:
parent
e93e1b91a9
commit
12dd6ae6b0
|
@ -79,6 +79,10 @@ class ProductsView(MasterView):
|
|||
supports_mobile = True
|
||||
has_versions = True
|
||||
|
||||
labels = {
|
||||
'status_code': "Status",
|
||||
}
|
||||
|
||||
grid_columns = [
|
||||
'upc',
|
||||
'brand',
|
||||
|
@ -131,9 +135,7 @@ class ProductsView(MasterView):
|
|||
'inventory_on_order',
|
||||
]
|
||||
|
||||
labels = {
|
||||
'status_code': "Status",
|
||||
}
|
||||
mobile_form_fields = form_fields
|
||||
|
||||
# These aliases enable the grid queries to filter products which may be
|
||||
# purchased from *any* vendor, and yet sort by only the "preferred" vendor
|
||||
|
|
Loading…
Reference in a new issue