Auto Sale Workflow for Odoo

Confirm the order. The rest runs itself.

What Auto Sale Workflow does

Sale Autopilot validates the delivery, creates, posts and emails the invoice and registers the payment after a sales order is confirmed, following rules you control. Free.

Automatic sale workflow on order confirmation: validate deliveries, create, post and email invoices, register payments. Rules per customer, tag, team, payment term, website and amount, dry run, queue and step log. Free.

  • Rules
  • Dry run
  • Step log
  • Background queue

Features

  • Rules you control

    Sequence and company per rule. Match by customer, customer tag, salesperson, sales team, payment term, country, warehouse, online payment provider, website or backend orders, order total and an advanced filter. All conditions or any condition.

  • Safe delivery validation

    Only fully reserved deliveries are validated, including pick and pack steps. Missing stock, lots or serial numbers that still need input: skipped and logged.

  • Invoice, post and email

    Creates the invoice (optionally in a chosen journal), posts it and emails it with the default invoice template or your own.

  • Register the payment

    For prepaid or cash orders: the payment is registered in the bank or cash journal set on the rule.

  • Dry run

    Runs the real steps, then rolls everything back and logs what would have happened. No emails are sent.

  • Three run modes

    On confirmation, in a background queue for large orders, or only when someone clicks Run Autopilot. Quotations get a Confirm + Autopilot button.

  • Step log on every order

    An Autopilot tab with each step, its status and message, plus a global log with filters for errors and skipped steps.

  • Never blocks confirmation

    Each step runs in its own savepoint. A failing step is rolled back and logged; the order stays confirmed and earlier steps are kept.

  • Roles and companies

    Salespeople see the rules and the log of their orders; sales managers edit rules. Rules and logs are separated per company.

Before and after

Without the app

  • Prepaid web orders wait for someone to invoice them
  • Invoices are posted but never emailed
  • Payments recorded days later, by hand
  • No trace of who did what, or why a step was missed

With Auto Sale Workflow

  • Orders matching a rule are delivered, invoiced, emailed and paid on confirmation
  • Stock and lot/serial checks keep the warehouse safe
  • A dry run shows the result before anything changes
  • Every step is logged on the order

How it works, step by step

  1. 01Create a rule

    Sales > Configuration > Autopilot Rules. Each rule has a sequence, a company and a run mode. The first matching rule wins. Three example rules come with the demo data.

    Auto Sale Workflow: Create a rule
  2. 02Choose the conditions and the steps

    Pick the steps (validate delivery, create, post and email the invoice, register the payment) and the orders they apply to: customer, tag, salesperson, team, payment term, country, warehouse, online payment provider, website or backend, order total, plus an advanced filter.

    Auto Sale Workflow: Choose the conditions and the steps
  3. 03Check which orders match

    Matching Orders lists the confirmed orders the rule would pick, before you switch it on.

    Auto Sale Workflow: Check which orders match
  4. 04Confirm the order as usual

    The autopilot runs right after confirmation. Here the delivery was validated and the invoice created, posted, emailed and paid.

  5. 05Read the log on the order

    The Autopilot tab shows every step with its result. Run Autopilot runs the rule again by hand; steps that are already done are skipped.

  6. 06Invoice posted, sent and paid

    The payment is registered in the journal chosen on the rule.

  7. 07Not enough stock? The delivery waits

    A delivery is only validated when every line is reserved. Otherwise the step is skipped, logged, and the order stays confirmed.

  8. 08Lots and serial numbers are respected

    When a serial or lot number still needs to be entered, the autopilot leaves the delivery for your warehouse team.

  9. 09Try a rule with a dry run

    Dry run executes the steps and rolls everything back, so the log shows exactly what would happen. Use the Dry Run button on any order, or turn on Dry Run on the rule.

  10. 10Large orders in the background

    Rules in Background queue mode hand the order to a scheduled job, so the user who confirms is not kept waiting.

  11. 11One log for all orders

    Sales > Orders > Autopilot Log, with filters for errors, skipped steps and dry runs. The order list has an Autopilot Errors filter too.

Questions about Auto Sale Workflow

Which apps does it need?

Sales, Inventory and Invoicing. All three are part of Odoo Community; no Enterprise app is needed, and it works on Enterprise too.

Will it touch my existing orders after install?

No. Nothing runs until you create an active rule, and only orders confirmed after that (or orders where you click Run Autopilot) are processed.

What happens when there is not enough stock?

The delivery step is skipped and logged. The other steps still run if the rule asks for them, for example invoicing on ordered quantities.

Does it work with lots and serial numbers?

Yes. If the reservation already picked the lots, the delivery is validated. If a lot or serial still has to be entered, the delivery is left for your team.

Does it work with eCommerce orders?

Yes. Orders confirmed by an online payment trigger the rule like any other. Use Order Source and Paid Online With to target them.

Can I run it again after fixing a problem?

Yes. Run Autopilot on the order runs the rule again and skips what is already done, so nothing is invoiced or paid twice.

Is the dry run really safe?

Yes. The steps run inside a savepoint that is rolled back at the end, and the email step never sends anything in a dry run.

Which invoice template is used?

The default invoice email template, unless you pick another one on the rule.

All Odoo apps

Related Odoo apps

Tell us which systems disagree. We will fix that.

Thirty minutes with an engineer, not a salesperson. You leave with a map of what you run, what to connect first and a price range, whether or not you hire us.