sale_substate
This module extends the sales workflow by allowing the definition and assignment of substates to sale orders for more detailed status tracking.
Key Features
- base.substate.type: Adds sale.order as a selectable model for substate configuration.
- sale.order: Inherits substate mixin to enable substate tracking on sale orders.
- sale.order: Displays substate in the form header using a clickable status bar widget.
- sale.order: Includes substate field in tree views for both sale orders and quotations.
- sale.order: Enables filtering and grouping by substate in sale order search views.
- sale.order: Automatically assigns default substate based on the sale order's current state.
- sale.order: Validates that assigned substates correspond to the current sale order state.
- sale.order: Clears substate when transitioning to states without configured substates.
- mail.template: Sends automated email notifications upon substate changes for specific substates.