sideshow.enum
¶
Enum Values
- sideshow.enum.ORDER_UOM = {'CS': 'Cases', 'EA': 'Units', 'KG': 'Kilograms', 'LB': 'Pounds'}¶
Dict of possible code -> label options for ordering unit of measure.
These codes are referenced by:
- sideshow.enum.ORDER_UOM_CASE = 'CS'¶
UOM code for ordering a “case” of product.
Sideshow will treat “case” orders somewhat differently as compared to “unit” orders.
- sideshow.enum.ORDER_UOM_KILOGRAM = 'KG'¶
UOM code for ordering a “kilogram” of product.
This is treated same as “unit” by Sideshow. However it should (probably?) only be used for items where e.g.
product_weighed
is true.
- sideshow.enum.ORDER_UOM_POUND = 'LB'¶
UOM code for ordering a “pound” of product.
This is treated same as “unit” by Sideshow. However it should (probably?) only be used for items where e.g.
product_weighed
is true.
- sideshow.enum.ORDER_UOM_UNIT = 'EA'¶
UOM code for ordering a “unit” of product.
This is the default “unit” UOM but in practice all others are treated the same by Sideshow, whereas “case” orders are treated somewhat differently.
- enum sideshow.enum.PendingCustomerStatus(value)[source]¶
Enum values for
sideshow.db.model.customers.PendingCustomer.status
.Valid values are as follows:
- PENDING = <PendingCustomerStatus.PENDING: 'pending'>¶
- READY = <PendingCustomerStatus.READY: 'ready'>¶
- RESOLVED = <PendingCustomerStatus.RESOLVED: 'resolved'>¶
- enum sideshow.enum.PendingProductStatus(value)[source]¶
Enum values for
sideshow.db.model.products.PendingProduct.status
.Valid values are as follows:
- PENDING = <PendingProductStatus.PENDING: 'pending'>¶
- READY = <PendingProductStatus.READY: 'ready'>¶
- RESOLVED = <PendingProductStatus.RESOLVED: 'resolved'>¶