Mail Template Multi Company

mail_template_multi_company
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/18.0/mail_template_multi_company
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Bhavesh Heliconia
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module add multi-company management to mail templates.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mail_template_form_view mail.template.form (in mail_template_multi_company) mail.template xpath Inherits mail.email_template_form
mail_template_search_view mail.template.search (in mail_template_multi_company) mail.template xpath Inherits mail.view_email_template_search
mail_template_tree_view mail.template.tree (in mail_template_multi_company) mail.template xpath Inherits mail.email_template_tree
Models touched (1)

New fields (1)
  • company_id Many2one → res.company
    ondelete='set null' args: 'res.company'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/17.0/mail_template_multi_company
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Antoni Marroig Campomar
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module add multi-company management to mail templates.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mail_template_form_view mail.template.form (in mail_template_multi_company) mail.template xpath Inherits mail.email_template_form
mail_template_search_view mail.template.search (in mail_template_multi_company) mail.template xpath Inherits mail.view_email_template_search
mail_template_tree_view mail.template.tree (in mail_template_multi_company) mail.template xpath Inherits mail.email_template_tree
Models touched (1)

New fields (1)
  • company_id Many2one → res.company
    ondelete='set null' args: 'res.company'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/16.0/mail_template_multi_company
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, BT-anieto
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:42
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mail_template_form_view mail.template.form (in mail_template_multi_company) mail.template xpath Inherits mail.email_template_form
mail_template_search_view mail.template.search (in mail_template_multi_company) mail.template xpath Inherits mail.view_email_template_search
mail_template_tree_view mail.template.tree (in mail_template_multi_company) mail.template xpath Inherits mail.email_template_tree
Models touched (1)

New fields (1)
  • company_id Many2one → res.company
    ondelete='set null' args: 'res.company'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/15.0/mail_template_multi_company
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Jasmin Solanki
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:31
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mail_template_form_view mail.template.form (in mail_template_multi_company) mail.template xpath Inherits mail.email_template_form
mail_template_search_view mail.template.search (in mail_template_multi_company) mail.template xpath Inherits mail.view_email_template_search
mail_template_tree_view mail.template.tree (in mail_template_multi_company) mail.template xpath Inherits mail.email_template_tree
Models touched (1)

New fields (1)
  • company_id Many2one → res.company
    default=<expr> ondelete='set null' args: 'res.company'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/14.0/mail_template_multi_company
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSsbejaoui, oca-travis, Weblate, OCA-git-bot, Simone Rubino, Carmen Bianca BAKKER, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:51
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mail_template_form_view mail.template.form (in mail_template_multi_company) mail.template xpath Inherits mail.email_template_form
mail_template_search_view mail.template.search (in mail_template_multi_company) mail.template xpath Inherits mail.view_email_template_search
mail_template_tree_view mail.template.tree (in mail_template_multi_company) mail.template xpath Inherits mail.email_template_tree
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • xmlid_to_res_model_res_id(self, xmlid, raise_if_not_found=False)
    @api.model

New fields (3)
  • company_id Many2one → res.company
    ondelete='set null' args: 'res.company'
  • original_xmlid_mail_template_id Many2one → mail.template
    comodel_name='mail.template' help='Mail Template that corresponds to a record having a XMLID. This record will be used when the record having a XMLID is found but cannot be accessed.' string='Original XMLID template'
  • substitute_xmlid_mail_template_ids One2many → mail.template
    comodel_name='mail.template' help="Mail Templates that correspond to this record's XMLID. When this record is searched by XMLID but cannot be accessed, the first accessible substitute will be found instead." inverse_name='original_xmlid_mail_template_id' string='Substitutes for XMLID template'
Public methods (1)
  • copy(self, default=None)
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/13.0/mail_template_multi_company
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSAndrea, OCA Transbot, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mail_template_form_view mail.template.form (in mail_template_multi_company) mail.template xpath Inherits mail.email_template_form
mail_template_search_view mail.template.search (in mail_template_multi_company) mail.template xpath Inherits mail.view_email_template_search
mail_template_tree_view mail.template.tree (in mail_template_multi_company) mail.template xpath Inherits mail.email_template_tree
Models touched (1)

New fields (1)
  • company_id Many2one → res.company
    default=<expr> ondelete='set null' args: 'res.company'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/12.0/mail_template_multi_company
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSMaxime Chambreuil, sbejaoui, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mail_template_form_view mail.template.form (in mail_template_multi_company) mail.template xpath Inherits mail.email_template_form
mail_template_search_view mail.template.search (in mail_template_multi_company) mail.template xpath Inherits mail.view_email_template_search
mail_template_tree_view mail.template.tree (in mail_template_multi_company) mail.template xpath Inherits mail.email_template_tree
Models touched (1)

New fields (1)
  • company_id Many2one → res.company
    default=<expr> ondelete='set null' args: 'res.company', 'Company'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/10.0/mail_template_multi_company
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSoca-travis, OCA-git-bot, François Honoré
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mail_template_form_view mail.template.form (in mail_template_multi_company) mail.template xpath Inherits mail.email_template_form
mail_template_search_view mail.template.search (in mail_template_multi_company) mail.template xpath Inherits mail.view_email_template_search
mail_template_tree_view mail.template.tree (in mail_template_multi_company) mail.template xpath Inherits mail.email_template_tree
Models touched (1)

New fields (1)
  • company_id Many2one → res.company
    default=<expr> ondelete='set null' args: 'res.company', 'Company'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/multi-company
PULL REQUEST
PULL REQUEST[19.0] [MIG] mail_template_multi_company : Migration to 19.0 (#990)