This extension adds a more or less generic customer (special) order system to Rattail.
The API itself is meant to allow for many different workflows, so how you use it really should be up to you. Please see http://rattail.edbob.org/moin/Workflows/Orders for some notes on workflow.
Represents an order submitted by a customer.
An integer field which may contain a human-friendly ID for the order.
This is auto-incremented by default.
A reference to a rattail.Customer to which the order belongs.
A list of rattail.OrderProduct instances which belong to the order.
Date and time the order was created.
A reference to the rattail.User who created the order.
An integer field to contain a custom-defined enumeration value.
A list of rattail.OrderEvent instances for the order.
Represents an event within the workflow of a rattail.Order.
A reference to the rattail.Order to which the event applies.
An integer field to contain a custom-defined enumeration value.
Date and time when the event occurred.
A reference to the rattail.User who performed the event.
Optional note text for the event.
Represents a product (line item) within a rattail.Order.
An integer field which may contain a human-friendly ID for the item.
This is auto-incremented by default.
A reference to the rattail.Order to which the item belongs.
An integer containing the “line number” within the Order.
Reference to the rattail.Product being ordered.
A cached copy of the OrderProduct.product‘s description.
A large text field to contain a free-form description of the product and its attributes, for use when the product cannot be solidly identified when the order is created.
Decimal quantity for the product being ordered.
A reference to the rattail.Price to be charged for the product.
Percentage discount to be applied to the product at the point of sale.
Dollar amount of discount to be applied to the product at the point of sale.
Dollar amount of the total deposit which is required for the product.
Dollar amount of any deposit(s) which has been paid.
Total payment amount which is required for the product.
Dollar amount of any payment(s) which has been submitted.
An integer field to contain a custom-defined enumeration value.
A list of rattail.OrderProductEvent instances for the item.
Represents an event within the workflow of a rattail.OrderProduct.
A reference to the rattail.OrderProduct to which the event applies.
An integer field to contain a custom-defined enumeration value.
Date and time when the event occurred.
A reference to the rattail.User who performed the event.
Optional note text for the event.
This enumeration is meant to hold possible values for Order.status.
Dictionary containing text mappings for the enumeration.
The first status an Order may have.
This enumeration is meant to hold possible values for OrderProduct.status.
Dictionary containing text mappings for the enumeration.
The first status an OrderProduct may have.