OdooWiki OCA HUB

Mail Template Multi Company

mail_template_multi_company folder_open OCA/multi-company open_in_new
Uncategorised License: AGPL-3

This module add multi-company management to mail templates.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a Company field to email templates so each template can belong to a specific company, and filters templates by the companies the user is allowed to see.

This module extends the standard email templates in Odoo so that each template can be linked to a company.

  • On the email template form, a new Company field appears right after the Model field. It is only visible to users who have access to multiple companies.
  • The same Company column is added to the email template list view, and a Company filter is added to the search view, so users can find templates by company.
  • A record rule named "Mail Template multi-company" restricts which templates each user can see: templates with no company (shared) plus templates belonging to the companies currently selected for that user.
  • The Company field can be left empty, meaning the template is shared across companies. If a company is deleted, the link is cleared automatically instead of deleting the template.

The module touches the mail.template model and the standard email template screens (form, list and search views). It does not add new menus or buttons; it only enriches the existing email template configuration area with company information and access rules.

Depends on

mail
Models and fields (1)
  • mail.template · extends an existing modelcompany_id

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/multi-company.

terminal Installation and usage

OCA documentation · Odoo 18.0
  • Go to Settings \> General Settings
  • Activate the multi-company
  • Go to Settings \> User & Companies \> Users
  • Select your user to edit it and active the multi-company
  • Go to Settings
  • Activate the developer mode
  • Go to Settings \> Technical \> Email \> Templates
  • Open a template and set the company field if the template is specific to a company

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.