When did that customer quietly stop ordering? An Odoo CRM example

An inbox full of new enquiries can make a familiar customer surprisingly easy to miss. Nobody has complained, the account is still in the system, and there may even be an old quotation on file. Yet the next order never arrived. When someone finally asks about the customer, the team cannot immediately tell whether this is a normal purchasing interval or an account that needs attention.

Our sample Odoo setup for a steel trading workflow turns that vague question into a narrower one: how long has it been since the customer’s last confirmed sales order? It adds fields to the customer record for the most recent order date, days without an order, an average order quantity presented in tonnes, and a product taken from the latest order. The companies and orders in this sample are invented demonstration data, not an account of a real customer relationship. The point is to show what the follow-up view can and cannot tell a salesperson.

The last order is not the last conversation

The sample calculation reads sales orders in the sale or done state and sorts them by order date. It takes the newest order, calculates the days since that date and writes the result to the customer record. Customers with no such order are skipped. This is a useful boundary: a new prospect with an open opportunity should not be treated in the same way as a previous buyer who has stopped ordering.

It is also a deliberate limit. An absence of orders does not mean that a customer has lost interest. They might be waiting for a delivery, working through a longer purchasing cycle, or comparing a current quote. The order date is an objective starting point for a conversation, not a diagnosis. Before making the call, check open opportunities, quotations and the context of previous contact. A CRM field cannot infer why a relationship has slowed down.

Suppose a regular buyer of plate has not placed a new order. The record shows an order date and an average quantity based on earlier orders. That helps a salesperson prepare, but it does not establish what the buyer needs now. In the sample code, the field labelled as the last product asked about is actually populated from the first product line of the most recent confirmed order. It is not a separate record of a request made on a call. When using a field like this, the label matters less than knowing where the value came from.

A filtered list and a call task solve different problems

The example stores a configurable inactivity threshold. A daily scheduled action checks customers against that threshold and schedules a call activity when appropriate. If an activity of the same call type already exists on the customer record, it does not schedule another one. That avoids creating a fresh copy of the same reminder every day. The code assigns the activity to the user running the scheduled action; it does not select an account owner from a sales territory or portfolio.

A custom “Cooling Customers” view appears under the CRM menu in the example setup. It filters customer records by the silent-days threshold and shows order date, elapsed days, average quantity, the product field and activities together. Longer periods without an order receive a different visual warning. The colour helps someone scan the list. It does not indicate the customer’s intentions or the probability of winning another order.

The view answers “which records should I inspect?” The activity answers “what follow-up has been assigned?” These are not interchangeable. Opening a list is not the same as contacting a customer; creating a call activity is not the same as having a useful conversation. If the team measures success by the number of visible tasks rather than what happened after each call, the workflow can look busy without improving its understanding of accounts.

Choose the threshold from the business rhythm

The sample configuration uses a 45-day threshold for the list and another visual warning at 90 days. Those numbers describe the demonstration setup, not a benchmark every company should adopt. A gap might be unusual for a buyer who orders each week and entirely ordinary for a business purchasing materials per project. Before changing an entire sales team’s routine, segment the accounts by how they normally buy.

A sensible pilot starts with a few customer records that have confirmed orders. Check the dates of those orders manually. Compare the latest one with the date and day count shown on the customer card. For a customer with several orders, confirm that the latest confirmed one is being picked. Then open the CRM list and see whether the customer appears when expected. This simple check is more useful than assuming that a newly configured dashboard must be correct.

Inspect the product and quantity fields as carefully as the date. A multi-line order is represented by only its first product line in the sample’s product field, so it is not a complete description of that purchase. The average displayed as tonnes is calculated by summing order-line quantities, dividing by the number of orders, and converting the result by a fixed factor. That number only has a meaningful tonne interpretation if the underlying order lines use suitable weight units. If different units are mixed, the label can sound more precise than the data permits.

Next, decide how follow-up should work in your own team. Who owns an account? When is a call activity closed? Where does the outcome of the conversation go? What should happen if the customer asks for a new quotation rather than another call? The example’s scheduled action does not answer these management questions. In particular, assigning every newly created activity to the action’s running user is not the same as distributing work among the correct account managers. Design that part before treating the reminders as a production sales process.

A quiet-account list is valuable precisely because it makes an easily forgotten question visible: when did this customer last buy, and who is following up? It will not turn silence into an order by itself. For a look at how this kind of follow-up fits alongside sales and stock workflows, Fabrika Yazılım’s Odoo services and module catalogue provide the broader setting.

Verification note: The example fields, daily calculation, CRM filter and call activity were checked against the Odoo demo setup scripts, and the published view against the Odoo services site. No real customer outcome is claimed here.