This release is a pre-release and may not be stable for production use.
Provides a method to use on mail templates to select contacts by their categories.
Table of contents
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. 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.
Do not contact contributors directly about support or help with technical issues.
Credits
Maintainers
This module is maintained by the OCA.
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.
Current maintainer:
This module is part of the OCA/social project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Metadata
Release files for odoo14-addon-mail-contact-type 14.0.1.0.1.dev5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo14_addon_mail_contact_type-14.0.1.0.1.dev5-py3-none-any.whl | Python 3 | none | any | Details for odoo14_addon_mail_contact_type-14.0.1.0.1.dev5-py3-none-any.whl |
Release files / odoo14_addon_mail_contact_type-14.0.1.0.1.dev5-py3-none-any.whl
| Download URL | odoo14_addon_mail_contact_type-14.0.1.0.1.dev5-py3-none-any.whl |
|---|---|
| Size | 30.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62cd57cfda57f4b0ca5e50e13bf73bf2ef316d27eb2629dfbad85acd8d9c34e0
|
|
BLAKE2b-256 checksum How to use checksums |
12a2d0bc7c5e8ab9d5672555f27a8f8a9df02aab494669a1e426a6283944d58f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for odoo14-addon-mail-contact-type 14.0.1.0.1.dev5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.