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
|
supports_mobile = True
|
||||||
has_versions = True
|
has_versions = True
|
||||||
|
|
||||||
|
labels = {
|
||||||
|
'status_code': "Status",
|
||||||
|
}
|
||||||
|
|
||||||
grid_columns = [
|
grid_columns = [
|
||||||
'upc',
|
'upc',
|
||||||
'brand',
|
'brand',
|
||||||
|
@ -131,9 +135,7 @@ class ProductsView(MasterView):
|
||||||
'inventory_on_order',
|
'inventory_on_order',
|
||||||
]
|
]
|
||||||
|
|
||||||
labels = {
|
mobile_form_fields = form_fields
|
||||||
'status_code': "Status",
|
|
||||||
}
|
|
||||||
|
|
||||||
# These aliases enable the grid queries to filter products which may be
|
# These aliases enable the grid queries to filter products which may be
|
||||||
# purchased from *any* vendor, and yet sort by only the "preferred" vendor
|
# purchased from *any* vendor, and yet sort by only the "preferred" vendor
|
||||||
|
|
Loading…
Reference in a new issue