Odoo doesn't provide a built-in option for email confirmation popups out of the box, but there are easy ways to achieve this without delving deep into custom code. Here's how you can handle it:
- Option 1: Enable Email Confirmation in Odoo Settings
Odoo already offers a basic confirmation system to prevent unintended email sending:
Go to Settings → General Settings.
Look for the Email Gateway section.
Enable the option for Email Queue (if available).
This requires users to confirm or review emails before they are sent.
This will add an extra step, allowing the user to double-check outgoing emails.
- Option 2: Use a Third-Party Module
The Odoo App Store has several third-party modules that provide email confirmation popups. Examples include:
Email Confirm Prompt: Adds a dialog box for users to confirm before sending emails.
Search for "email confirmation" or "email warning" modules compatible with your Odoo version.
- Option 3: Implement an Automation Rule (No Coding Required)
You can create a server action in Odoo to notify or warn users before emails are sent:
Go to Settings → Technical → Automation → Server Actions.
Create a new action:
Model: Mail.Message or Mail.Mail.
Trigger Condition: Before sending.
Add a custom message or condition to warn users (e.g., for specific user groups or recipients).
This can display a warning or redirect users to confirm their action.