Do you need more control over who can be added as a follower in your system? Whether you want to limit follower selection to a specific group of users or forbid certain partners from becoming followers, either globally or on certain models, the Restrict Follower Selection module from the Odoo Community Association (OCA) provides a powerful and flexible solution.
Main Features
This module allows you to define exactly who can be added as a follower by applying custom domain filters. Key functionalities include:
- Filter the selection of available followers.
- Restrict follower addition to recipients that meet a defined domain.
Configuration
You can configure the module to apply restrictions globally across the system, or specifically for certain models (like sales orders, tasks, etc.).
Setup Steps:
-
Enable Developer Mode in Odoo.
-
Navigate to:
Settings > Technical > Parameters > System Parameters
-
Create or edit the parameter:
mail_restrict_follower_selection.domain
Set the domain according to your requirements (e.g., to allow only employees to be added as followers).
This applies a global restriction on follower selection across the system.
To apply restrictions only to a specific model, add another system parameter using the format:mail_restrict_follower_selection.domain.$your_model
For example, to restrict followers on the sale order model the parameter should look like this:
mail_restrict_follower_selection.domain.sale.order
You can combine both global and model-specific filters. Odoo will use the model-specific domain where defined, and fall back to the global domain otherwise.
Example Usage
In case only employees need to be followers across the system. Your global domain might look like: [('employee_ids', '!=', False)]
If you need to apply a stricter filter only on Sales Orders, you could set a system parameter: mail_restrict_follower_selection.domain.sale.order
with a domain that, for example, allows only users to be followers for sales orders: [('user_ids', '!=', False)]
Important Notes
- The module does not remove existing followers that don’t meet the domain conditions.
- Changes to domain filters only affect newly added followers after the update.
- When using the Add Followers wizard, the system may not apply model-specific domains in the selection popup. This is due to the wizard not always knowing which model it was triggered from.
- To navigate the issue use a broader global domain and stricter model-specific domains where needed.
- Even if an unqualified recipient appears in the list and is selected, the system will silently ignore them if they don’t match the specific domain for the model.
The module is maintained by the Odoo Community Association (OCA), with the latest version available: 18.0.1.0.0.
Have you ever found yourself missing the Cc
and Bcc
fields when composing emails in Odoo? If so, the “Email CC and BCC” module by the Odoo Community Association (OCA) is exactly what you need.
Once installed, this module adds both Cc
and Bcc
fields to the email composer. It also lets you configure default Cc
and Bcc
emails per company, making it easy to include specific recipients in all outgoing emails automatically.
Key Features of the module:
- Adds
Cc
andBcc
fields to the Email Composer - Enables default
Cc
/Bcc
values at the company level - Introduces the
Bcc
field in Email Templates, allowing you to set Bcc recipients per template - Sends individual emails to each recipient in
To(Recipients)
,Cc
, andBcc
while maintaining consistent headers - Includes a custom
X-Odoo-Bcc
header whenBcc
is used
The default Cc
/Bcc
values are only applied when using the Email Composer not when sending inline messages from Chatter.
If you're using Odoo and want more control over email recipients, this module is worth checking out! The latest available version is 18.0.1.0.0.
Automating actions when users submit forms on your website can save time and improve efficiency—whether you're capturing leads, creating tasks, or managing email subscriptions.
However, not all website forms trigger automation actions. For example, a standard newsletter form won’t trigger automation rules. Instead, you should use the Form Block
, which offers greater flexibility in field customization, default values, and triggers automation rules.
In this post, we’ll continue with our email sequences automation example from How to Create Fully Automated Email Sequences article, focusing on how to trigger an email sequence immediately after a user subscribes, eliminating the need for scheduled actions.
Step 1: Setting Up the Subscription Form
To ensure automation triggers work, we’ll configure a Form Block
instead of a basic newsletter block. Here’s how:
- Go to your website editor and select the Form Block.
- Set the action to "Subscribe to Newsletter."
- Customize your form layout.
- Define the form fields (e.g., Name and Email), ensuring they are mapped to the correct model fields.
- Add the
Mailing List
selection field, if it’s not already included in the form:- Set the default value to the list you want (e.g., AI Course).
- Hide the field if you don’t want users to view or change the list.
- Add a specific tag for subscribers from this form:
- Add a new field to the form.
- Map the field to the
Tags
field in theMailing Contact
model. - Set the default tag to be applied on submission (e.g., AI Course).
- Hide the field if you don’t want users to modify it.
Now, when users submit this form, they’ll be added to the specified mailing list and tagged with the correct tag.
Step 2: Creating the Automation Rule
Next, we’ll set up an automation rule that triggers when a new subscriber is tagged.
-
Create a new Automation Rule and set the model to
Mail Contact
. -
Set the trigger to
When a tag is added
(use the same tag from the form, e.g., "AI Course"). -
Add additional filters to target the right subscribers—for example,
Mailing List Name = AI Course
. -
Add two
Execute Code
actions:
- The first action adds the subscriber to the email sequence:
- The second action triggers the flow instantly:
Final Thoughts
With this setup a new subscribers are automatically added to your email sequence and the first email is triggered immediately—no waiting for scheduled jobs.
By using Form Blocks
and automation rules, you can streamline workflows and ensure instant responses to user actions.
Want to bring your company's branding into your Odoo interface? Or are you using multi-company mode and looking for a visual distinction between companies? Then the Web Company Color module is exactly what you need.
What does it do
Once installed, the module adds a Company Styles
tab in the company’s form view, allowing you to customize:
- Navbar Background Color
- Navbar Background Color Hover
- Navbar Text Color
- Button Background Color
- Button Background Color Hover
- Button Text Color
- Link Text Color
- Link Text Color Hover
You can also use the Compute colors from logo
feature to auto-generate the first three colors in the list using your company logo.
Once saved, the page refreshes automatically and applies your new styles.
A couple of notes:
- Some elements, like buttons or links, may retain the default color in certain views.
- The app name in the top-left corner uses the link color, which might not always match the rest of the navbar.
Still, this module is an excellent enhancement for anyone looking to personalize or improve multi-company UI in Odoo.
The module is maintained by the Odoo Community Association (OCA), with the latest version available: 18.0.1.0.0.