Skip to main content

Stages

A Stage (crm.stage) is a column in the BPO CRM kanban pipeline. Stages define how a lead moves from first contact to a closed outcome.

:::info Who can edit this? Only BPO Managers can create, reorder, rename, or delete stages. Changes take effect immediately for all users — coordinate before renaming, since agents memorize the column layout. :::

Default stages

A fresh install ships with:

SequenceNameFlagsPurpose
10NewFresh lead, initial contact pending
20QualifiedCustomer interest confirmed
30NegotiationDiscussing price, unit, financing
40Wonis_won = TrueDeal closed — triggers SO push to dealership
50Lostis_lost = True, fold = TrueDeal lost (with reason)

Open the Stages list

Navigate to BPO CRM → Configuration → Stages.

Stages list view

The list is editable inline — click any cell to rename, reorder, or flip flags without opening a separate form.

ColumnDescription
SequenceDrag-handle. Controls left-to-right order in the kanban view.
NameStage label shown to users.
Is Won StageAt most one stage should be marked Won. Triggers the dealer Sales Order push.
Is Lost StageAt most one stage should be marked Lost. Opens the Lost reason wizard.
Folded in KanbanWhen on, the stage is collapsed by default in the kanban view.

Create or edit a stage

Click New or double-click an existing row.

Stage form

FieldNotes
Stage NameRequired, unique across the CRM. Translatable.
SequenceLower numbers appear first. Leave gaps (10, 20, 30…) to allow future inserts.
Is Won StageSee Semantics below.
Is Lost StageSee Semantics below.
Folded in KanbanUse for terminal states (Won, Lost) so the board stays focused on in-flight leads.

Semantics of is_won / is_lost

These two flags are load-bearing — they are not cosmetic.

  • is_won — when a lead moves into a stage with is_won = True, the Won flow runs:
    1. Validate dealership_id.odoo_url is set.
    2. Look up / create the customer on the dealer instance.
    3. Create the sale.order.
    4. Write back dealer_so_id / dealer_so_name on the lead.
    5. Email the dealership manager.
  • is_lost — moving into this stage opens the Mark as Lost wizard to capture a reason code and notes.

:::warning Exactly one Won, exactly one Lost Only one stage may carry is_won = True and one may carry is_lost = True. Having zero breaks the mark-as-won button. Having two causes unpredictable routing. :::

Reordering stages

Use the handle in the leftmost column to drag rows. The order here is the left-to-right column order on the kanban pipeline. Fold terminal stages (Won, Lost) so they stay tucked away.

Stages reorder

Renaming or deleting — cautions

OperationImpact
RenameSafe. All existing leads stay attached to the same crm.stage.id. Chatter entries and reports continue to work.
DeleteBlocked if any lead is currently in that stage. Move leads out first, then archive instead of hard-deleting when possible.
Flip is_won offPast won leads stay won, but new "Won" clicks will fail with "No won stage configured".

Troubleshooting

SymptomLikely cause
"Mark as Won" button does nothing / errorsNo stage has is_won = True, or more than one does.
Lost wizard doesn't openNo stage has is_lost = True.
New stages appear at the wrong positionSequence collision — run through the list and rewrite sequences with gaps of 10.