=================
Mail Contact Type
=================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:e537b9b5e278b5cac844a2c49381d798fe5dbae79b45b83054a71c7b1059559f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github
:target: https://github.com/OCA/social/tree/14.0/mail_contact_type
:alt: OCA/social
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mail_contact_type
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=14.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
Provides a method to use on mail templates to select contacts by their categories.
.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_
**Table of contents**
.. contents::
:local:
Usage
=====
In the **Contacts > Configuration > Mailing > Contact type** you can create mail contact type.
A mail contact type is defined by a name that will be displayed in the backoffice
and a code that will be used to find contacts related to this type.
Then, you will need to define the mailing types for contacts. To achieve this
there is a field called **Mail Contact Types** into the contact form view.
Last, to select proper contacts from email template configuration,
you will set the **To (partner)** field using jinja template
like this (assuming `object` as a field `partner_id`):
`${object.partner_id.contact_by_types('your_code1','your_code2')}`
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/social/issues/new?body=module:%20mail_contact_type%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
Credits
=======
Authors
~~~~~~~
* Foodles
Maintainers
~~~~~~~~~~~
This module is maintained by the OCA.
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
.. |maintainer-petrus-v| image:: https://github.com/petrus-v.png?size=40px
:target: https://github.com/petrus-v
:alt: petrus-v
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-petrus-v|
This module is part of the `OCA/social <https://github.com/OCA/social/tree/14.0/mail_contact_type>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Raw data
{
"_id": null,
"home_page": "https://github.com/OCA/social",
"name": "odoo14-addon-mail-contact-type",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Foodles, Odoo Community Association (OCA)",
"author_email": "support@odoo-community.org",
"download_url": "",
"platform": null,
"description": "=================\nMail Contact Type\n=================\n\n.. \n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! This file is generated by oca-gen-addon-readme !!\n !! changes will be overwritten. !!\n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! source digest: sha256:e537b9b5e278b5cac844a2c49381d798fe5dbae79b45b83054a71c7b1059559f\n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png\n :target: https://odoo-community.org/page/development-status\n :alt: Alpha\n.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github\n :target: https://github.com/OCA/social/tree/14.0/mail_contact_type\n :alt: OCA/social\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n :target: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mail_contact_type\n :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png\n :target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=14.0\n :alt: Try me on Runboat\n\n|badge1| |badge2| |badge3| |badge4| |badge5|\n\nProvides a method to use on mail templates to select contacts by their categories.\n\n.. IMPORTANT::\n This is an alpha version, the data model and design can change at any time without warning.\n Only for development or testing purpose, do not use in production.\n `More details on development status <https://odoo-community.org/page/development-status>`_\n\n**Table of contents**\n\n.. contents::\n :local:\n\nUsage\n=====\n\nIn the **Contacts > Configuration > Mailing > Contact type** you can create mail contact type.\n\nA mail contact type is defined by a name that will be displayed in the backoffice\nand a code that will be used to find contacts related to this type.\n\nThen, you will need to define the mailing types for contacts. To achieve this\nthere is a field called **Mail Contact Types** into the contact form view.\n\nLast, to select proper contacts from email template configuration,\nyou will set the **To (partner)** field using jinja template\nlike this (assuming `object` as a field `partner_id`):\n`${object.partner_id.contact_by_types('your_code1','your_code2')}`\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us to smash it by providing a detailed and welcomed\n`feedback <https://github.com/OCA/social/issues/new?body=module:%20mail_contact_type%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.\n\nDo not contact contributors directly about support or help with technical issues.\n\nCredits\n=======\n\nAuthors\n~~~~~~~\n\n* Foodles\n\nMaintainers\n~~~~~~~~~~~\n\nThis module is maintained by the OCA.\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\n.. |maintainer-petrus-v| image:: https://github.com/petrus-v.png?size=40px\n :target: https://github.com/petrus-v\n :alt: petrus-v\n\nCurrent `maintainer <https://odoo-community.org/page/maintainer-role>`__:\n\n|maintainer-petrus-v| \n\nThis module is part of the `OCA/social <https://github.com/OCA/social/tree/14.0/mail_contact_type>`_ project on GitHub.\n\nYou are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.\n\n\n",
"bugtrack_url": null,
"license": "AGPL-3",
"summary": "Mail Contact Type",
"version": "14.0.1.0.1.dev4",
"project_urls": {
"Homepage": "https://github.com/OCA/social"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4aabe3691ce48b03be90a3a49a05da17d01f00155ed18a56a29d5980f59716cc",
"md5": "380470fc25e75e5cabfa6ae0d0b54d5e",
"sha256": "ed7bd6aebdd378e5e0e51cc24cbcea1a2b3530de78e59dcf7c1690525a60c64c"
},
"downloads": -1,
"filename": "odoo14_addon_mail_contact_type-14.0.1.0.1.dev4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "380470fc25e75e5cabfa6ae0d0b54d5e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 29207,
"upload_time": "2024-02-23T07:05:50",
"upload_time_iso_8601": "2024-02-23T07:05:50.828775Z",
"url": "https://files.pythonhosted.org/packages/4a/ab/e3691ce48b03be90a3a49a05da17d01f00155ed18a56a29d5980f59716cc/odoo14_addon_mail_contact_type-14.0.1.0.1.dev4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-23 07:05:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "OCA",
"github_project": "social",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "odoo14-addon-mail-contact-type"
}