To send payment notifications automatically in Odoo, create one automation rule on the Journal Entry model. It runs when the Payment Status of an invoice changes to Paid and sends an email template to the customer. The setup needs no custom code. This guide shows the steps in Odoo 18 and what is different in Odoo 20.
How do you access automation rules in Odoo 18?
Note: The steps and screenshots in the next three sections show Odoo 18 and date from February 2025. They still apply to Odoo 18. If you use Odoo 20, go straight to How do you set this up in Odoo 20?.
Before you start creating Automation Rules, you must enable the Developer Mode. There are two ways in which you can do this.
1. Odoo Debug browser extension
Install the following extension in your browser. Once it’s installed, you will see an icon on the top right corner of your browser window.
To enable Debug mode, click on the monkey icon. Once you click on it once, your debug mode will be activated. Check out the debug mode icon guide below:
Debug mode off
Debug mode on
Assets debug mode on
Click once on the icon when the debug mode is off to turn it on. If you want to switch to assets debug mode, double click on the icon. We will not be using the third mode for this tutorial.
2. Odoo Settings
Go to your Odoo Settings app. Scroll down to Developer Tools and click on Activate developer mode.


Where do you find automation rules in Odoo 18?
Once you have enabled Developer Mode, the Automation Rules feature will now be visible to you. To access it, you can either:
- Go to the Settings app, open the Technical menu and scroll to Automation → Automation Rules


- Search for Automation Rules in your Odoo home screen by using the / command.


How do you set up automated payment notifications in Odoo 18?
To enable automated payment notifications in Odoo 18, you need to create and configure an appropriate Automation Rule. Here’s how to do it:
1. Create an Automation Rule with the following information:
- Model: Journal Entry
- Trigger: On save
- Apply on: Payment Status = Paid
- When updating: Payment Status


2. Click on the Add an action button, which will open a pop-up. There, you will select the following:
- Type: Send an email
- Send email as: Email


3. Select an email to send from an existing template or create a new one directly from this window.


You can do this by clicking on the dropdown menu next to the Email Template field and selecting Search More…, and adding a new template when prompted. Fill out your new email template and save.
You can add fields to further automate your emailing, like Dynamic Placeholders for customer names and payment references, or even Dynamic Reports like invoice documents (see below)




How do automated payment notifications work in practice in Odoo 18?
Let’s put our configuration to the test. To do so, navigate to the Accounting app and assume we have 9 unpaid invoices.


Select an unpaid invoice to process, we will go with INV/2025/00001. Then, click on the Pay button to be redirected to a pop-up.


Confirm by clicking on Create Payment


Your invoice will now be marked as In Payment and it’s ready to be reconciled.


Return to the Accounting app dashboard. You will see that there are items waiting for payment reconciliation.


Go to Bank → Transactions and click on the New button. Add the Payment Value, Partner, and a Memo to trace back to your invoice. Then, click on Add & New.


Odoo will automatically match your invoice – you just have to Validate it.


Now go back to your invoice. You will see that it’s now marked as Paid. The automation rule is triggered and the customer has received the Payment Notification email that we set up (see in the Chatter window - including all the filled-out dynamic placeholders)!




How do you set this up in Odoo 20?
In Odoo 20 you build the rule the same way, but one trigger has a new name and the email action looks different. We checked the steps below on an Odoo 20 Enterprise database in November 2026 and against the Odoo 20 documentation on automation rules.
1. Where do you find automation rules in Odoo 20?
Activate developer mode first: open the Settings app, scroll down to Developer Tools and click Activate the developer mode. Then open the Technical menu, scroll down the list to Automation → Automation Rules and click New. The Technical menu is only visible in developer mode.
If Odoo Studio is installed, there is a second way: open Studio on an invoice, click Automations and then New. Studio creates the rule for the model of the screen you opened it from.
Automation Rules in the Technical menu of the Odoo 20 Settings app, visible in developer mode
Automation Rules in the Technical menu of the Odoo 20 Settings app, visible in developer mode
Automation Rules in the Technical menu of the Odoo 20 Settings app, visible in developer mode
Automation Rules in the Technical menu of the Odoo 20 Settings app, visible in developer mode
2. Which trigger and conditions does the rule need?
Give the rule a clear name and fill in these fields:
- Model: Journal Entry
- Trigger: On create and edit (in the Custom group; this option was called On save in Odoo 18)
- Apply on: Payment Status = Paid and Type = Customer Invoice, so that the rule ignores vendor bills
- When updating: Payment Status
Do not leave When updating empty. Without a field there, the action may be executed several times per record, as the Odoo documentation warns.
While you test the rule, you can add a third condition on a single test customer, for example Partner = your test customer, so that no real customer receives the email. Remove this condition before you go live.
Automation rule in Odoo 20 with the model Journal Entry, the trigger, the Payment Status condition and a test condition on one customer
Automation rule in Odoo 20 with the model Journal Entry, the trigger, the Payment Status condition and a test condition on one customer
Automation rule in Odoo 20 with the model Journal Entry, the trigger, the Payment Status condition and a test condition on one customer
Automation rule in Odoo 20 with the model Journal Entry, the trigger, the Payment Status condition and a test condition on one customer
3. Which action sends the email?
On the Actions To Do tab, click Add an action and select the type Send Message. Then choose an existing email Template or create a new one. Odoo 20 no longer shows the Send email as field: posting a message from a template and logging an internal note are now two separate action types, Send Message and Log Note.
When the rule runs, Odoo posts the message in the chatter of the invoice and sends it by email to the followers of the invoice and to the recipients defined in the template.
Action of the automation rule in Odoo 20 that sends a message from an email template
Action of the automation rule in Odoo 20 that sends a message from an email template
Action of the automation rule in Odoo 20 that sends a message from an email template
Action of the automation rule in Odoo 20 that sends a message from an email template
Create the template for the Journal Entry model and use dynamic placeholders, for example for the customer name and the payment reference. How the template editor works is explained in our guide to email templates in Odoo.
Email template for the payment notification in Odoo 20 with dynamic placeholders
Email template for the payment notification in Odoo 20 with dynamic placeholders
Email template for the payment notification in Odoo 20 with dynamic placeholders
Email template for the payment notification in Odoo 20 with dynamic placeholders
4. How do you test the rule?
Open a posted customer invoice, click Pay and confirm with Create Payment. The invoice is now marked as In Payment. Once the payment is reconciled with a bank transaction, the status changes to Paid, the rule runs, and the notification appears in the chatter of the invoice. Odoo describes both statuses in its payments documentation.
Paid customer invoice in Odoo 20 with the payment notification in the chatter
Paid customer invoice in Odoo 20 with the payment notification in the chatter
Paid customer invoice in Odoo 20 with the payment notification in the chatter
Paid customer invoice in Odoo 20 with the payment notification in the chatter
5. What do the AI options in Odoo 20 automation rules do?
Odoo 20 adds an AI Agent field to the automation rule. If you select an agent, the Actions To Do tab is replaced by a Prompt tab, where you write instructions instead of adding actions. There is also an action type called AI, and the Update Record action has an Update with AI option. All of them need the Odoo AI app and AI credits.
For a payment notification with fixed wording, the Send Message action with a template remains the simpler and more predictable choice. If you want to try the AI route, start with our tutorial on AI agents in Odoo.
Automation rule in Odoo 20 with an AI agent selected and the tab for its instructions
Automation rule in Odoo 20 with an AI agent selected and the tab for its instructions
Automation rule in Odoo 20 with an AI agent selected and the tab for its instructions
Automation rule in Odoo 20 with an AI agent selected and the tab for its instructions
“An automation rule is enough as long as the logic fits one trigger, one condition and standard actions. Once you need branching per customer group, retries after errors or calls to another system, write a small module, because code can be tested and versioned,” says Gustavo Aguiar, Engineering Manager at much. Consulting.
What changed between Odoo 18 and Odoo 20?
The principle is the same in both versions: one rule, one condition, one email template. These are the differences we found:
- The trigger On save is now called On create and edit.
- The Send Email action with its Send email as option has become Send Message. Internal notes have their own action type, Log Note.
- New in Odoo 20: the AI Agent field on the rule and the AI action type. Both need the Odoo AI app and AI credits.
- Unchanged: the menu path under Settings → Technical, the need for developer mode or Odoo Studio, the Journal Entry model and the Payment Status field.
Both versions are in standard support: Odoo 18 (released in October 2024) until September 2027 and Odoo 20 (released in September 2026) until September 2029, according to Odoo’s supported versions page.
FAQ: automated payment notifications in Odoo
Can Odoo send a payment confirmation email automatically?
Yes. Create an automation rule on the Journal Entry model that runs when the Payment Status of an invoice changes to Paid and sends an email template to the customer. Odoo then posts the message in the chatter of the invoice and sends it by email. This works without custom code in Odoo 18 and Odoo 20.
Do you need developer mode to create automation rules in Odoo?
Yes, for the menu Settings → Technical → Automation → Automation Rules, because the Technical menu only appears in developer mode. You activate it in the Settings app under Developer Tools. If Odoo Studio is installed, you can open Studio and click Automations instead. Developer mode also gives you the full domain editor for conditions.
Which trigger do you use for a payment notification in Odoo 20?
Use the trigger On create and edit, which was called On save in Odoo 18. Select Payment Status in the When updating field and set Apply on to Payment Status = Paid. If When updating stays empty, the action may be executed several times for the same record, according to the Odoo documentation.
Why is the invoice In Payment and not Paid?
Because the payment has been registered but not yet reconciled with a bank transaction. Odoo marks the invoice as Paid only after the bank reconciliation, so the notification is sent at that point. If you want to inform customers earlier, set the condition of the rule to Payment Status = In Payment instead.
Does the rule also email vendors when a vendor bill is paid?
Yes, unless you restrict the rule to customer invoices. Vendor bills are journal entries too, and they also reach the status Paid. Add the condition Type = Customer Invoice to the Apply on field so that the rule only covers customer invoices. Test it with one vendor bill before you rely on the rule.
Can AI write the payment notification in Odoo 20?
Technically yes: automation rules in Odoo 20 have an AI Agent field and an AI action type that follow written instructions. Both need the Odoo AI app and AI credits. For a payment confirmation with fixed wording, an email template is more predictable and uses no credits, so we recommend the template.
When do you need custom code instead of an automation rule?
You need custom code when the logic no longer fits one trigger, one condition and standard actions, for example with several message variants, error handling or calls to external systems. Automation rules are stored in the database and are not version-controlled like a module. See how we approach such projects on our page about process automation.
Looking for the right partner for your Odoo project?
Then much. Consulting is the perfect choice for you! As one of the largest Odoo Gold Partners in Germany, we support companies of all sizes and industries!