Most Odoo databases already hold the data needed to chase a stale quotation or warn a buyer about a part running low. The missing piece is usually not more data. It is a rule that watches for the right moment and acts on it. That is exactly what Odoo automated actions do. Once configured correctly, they quietly handle work that used to live on someone's daily to-do list.
We get asked to build these constantly during Odoo customization engagements. Often a team has already tried a few automated actions on their own and hit a wall. A rule fires too often. An email goes out twice. A scheduled job never seems to run. None of these are bugs in Odoo. They are configuration mistakes, easy to make and just as easy to avoid once you understand the three pieces involved.
The Three Building Blocks Behind Odoo Automated Actions
Odoo automation sits on top of three distinct concepts. Conflating them is the root of most confusion.
- Automated action (base.automation) - the trigger. It watches a model for a condition: record created, record updated, a field changed to a specific value, or a time-based condition like "48 hours after the date field."
- Server action - the task. It runs Python code, sends an email, creates an activity, updates a field, or calls another server action. An automated action always points to one server action.
- Scheduled action (cron) - a job that runs on a fixed schedule, every 15 minutes, nightly, weekly, independent of any single record event. Good for batch work: digest emails, cleanup jobs, or re-checking every record against a condition that a single trigger would miss.
In practice, a follow-up reminder usually combines an automated action (trigger: no activity logged in X days) with a server action (create an activity or send an email). A stock alert often needs a scheduled action instead, because "quantity on hand dropped below the reorder point" is not a single field write you can watch cleanly across every warehouse operation.
How to Set Up a Follow-Up Reminder With Odoo Automated Actions
A common pattern: nudge the sales team when a quotation has had no activity for three days.
- Enable developer mode, go to Settings, Technical, Automation, Automated Actions.
- Set the model to Sales Order. Choose trigger type Based on Form Modification or Based on Time Condition, depending on whether you want it to fire on every stage change or purely on elapsed time.
- For a time-based rule, set the trigger field to the order's last activity or write date, and set the delay to your threshold.
- Point it to a server action that creates a
mail.activityfor the salesperson, or sends a templated email if you prefer email over an in-app task. - Add a domain filter so it only applies to orders still in the "Quotation Sent" stage, not confirmed orders. This single filter avoids the most common complaint we hear about follow-up rules: they keep firing on deals that already closed.
The domain filter matters more than the trigger itself. Without it, the rule looks correct in testing, one record, one trigger, and then misbehaves at scale because it matches records the business never intended to include.
Building a Low-Stock Alert on Top of Odoo Automated Actions
Stock alerts are trickier than follow-ups because "low stock" is a computed state, not a field that changes on its own. Two approaches work, each with a different trade-off.
Approach one: reordering rules. Odoo's built-in reordering rules, under Inventory > Configuration > Reordering Rules, already generate a request for quotation or manufacturing order when the forecasted quantity drops below a minimum. This is the standard mechanism, and it does not need a custom automated action at all. If the goal is simply "replenish before we run out," start here.
Approach two: a notification when stock crosses a threshold. Sometimes the goal is to alert a buyer or manager by email or activity without triggering a purchase automatically. For that, a scheduled action is the cleaner fit. Set it to run daily or a few times a day. Have it search for stock.quant records where quantity on hand is below a threshold stored on the product or category. Generate one activity per product rather than per quant line, so the buyer is not spammed with duplicate alerts for the same SKU across bins.
We generally recommend approach one unless there is a specific reason a human needs to review before any purchase is generated. Automated reordering is simpler, has fewer moving parts, and does not depend on a custom scheduled action staying healthy over time.
A Pre-Launch Checklist for Any Odoo Automated Actions Rule
A short checklist we run through on every automation request, because skipping any one of these is where the real incidents come from:
| Check | Why it matters |
|---|---|
| Domain filter scoped tightly | Prevents the rule from matching records outside its intended purpose |
| Active field respected | Archived or cancelled records should not re-trigger old rules |
| Idempotency | A rule that re-runs on the same record, for example after a related write, should not send duplicate emails or create duplicate activities |
| Performance on bulk operations | A rule that works on one record may time out on a CSV import of 5,000 lines |
| Who gets notified | Activities should land on the actual responsible user, not a shared inbox nobody checks |
| Fallback when no user matches | Decide what happens if the salesperson field is empty before the rule runs in production |
Idempotency is the one teams miss most. If an automated action triggers on "record updated" and the server action itself updates the same record, you can create a loop, or at minimum a rule that fires again on its own write. Odoo has basic loop detection, but it only catches the simplest cases. A rule that re-sends a notification email every time a tangentially related field changes often slips past that protection; it is a real annoyance, not something Odoo will reliably catch for you.
When Odoo Automated Actions Stop Being the Right Tool
Automated actions are configuration, not code, and that is their strength. No deployment, no server restart, changes are visible in the Studio-adjacent technical settings. But they have a ceiling. Once a rule needs to branch across more than two or three conditions, call external APIs, or coordinate state across multiple models with rollback logic, a short Python method in a proper module is easier to test, version, and hand off to the next developer. We cover this trade-off in more depth in our piece on configuring before building custom modules. Our general view is to start with native automation and only move to code once the rule itself becomes the hard part to maintain, not the business logic it represents.
One limitation worth naming directly: automated actions defined through the technical settings are not covered by the same test suite as a custom module. They are also easy to edit in production by someone without a development background. That flexibility cuts both ways. We recommend exporting automation records as XML data and tracking them in version control once a database has more than a handful of rules, the same discipline we would apply to any other piece of Odoo development work.
Getting Scheduled Action Frequency Right
Scheduled actions default to intervals that are often too conservative or too aggressive for the task at hand. An alert that only needs to run once a day should not be set to run every five minutes. It adds load to the database scheduler for no benefit, and it makes the job queue harder to read when something else actually needs attention. Match the interval to the business need. Document why that interval was chosen in the action's name or description field, and revisit it after go-live once you know the real data volumes involved.
If you are building out a broader automation layer, whether for sales follow-ups, stock alerts, or document reminders tied to compliance deadlines, treat each rule as a small piece of software with its own owner, not a one-off setting. Review them during your next Odoo support cycle alongside your access rights and scheduled jobs. A rule nobody remembers configuring is also a rule nobody notices when it quietly stops working. For teams considering whether a given rule belongs in Studio-style automation or a dedicated module, our Odoo customization services page walks through how we scope that decision before writing a line of code.



