You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
3.5 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
  3. :alt: License: AGPL-3
  4. ===============================
  5. Link partners with mass-mailing
  6. ===============================
  7. This module links mass-mailing contacts with partners.
  8. Features
  9. --------
  10. * When creating or saving a mass-mailing contact, partners are matched through
  11. email, linking matched partner, or creating a new one if no match and the
  12. maling list partner mandatory field is checked.
  13. * Mailing contacts smart button in partner form.
  14. * Mass mailing stats smart button in partner form.
  15. * Filter and group by partner in mail statistics tree view
  16. Configuration
  17. =============
  18. At first install, all existing mass mailing contacts are matched against
  19. partners. And also mass mailing statistics are matched using model and res_id.
  20. NOTE: When upgrading from version 1.0.0, no mass mailing statistics matching
  21. are done, because it is done only when installing. You can execute 'partner_link'
  22. method to all stats using odoo shell or any XML client:
  23. .. code:: python
  24. # odoo.py --addons-path=<addons_path_list> shell --config=<odoo_config_file> -d <database>
  25. stats = self.env['mail.mail.statistics'].search([('model', '!=', False), ('res_id', '!=', False)])
  26. stats.partner_link()
  27. Usage
  28. =====
  29. In partner view, there is a new action called "Add to mailing list". This
  30. action open a pop-up to select a mailing list. Selected partners will be added
  31. as mailing list contacts.
  32. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  33. :alt: Try me on Runbot
  34. :target: https://runbot.odoo-community.org/runbot/111/8.0
  35. Bug Tracker
  36. ===========
  37. Bugs are tracked on `GitHub Issues <https://github.com/OCA/crm/issues>`_.
  38. In case of trouble, please check there if your issue has already been reported.
  39. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
  40. `here <https://github.com/OCA/crm/issues/new?body=module:%20mass_mailing_partner%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  41. License
  42. =======
  43. This program is free software: you can redistribute it and/or modify
  44. it under the terms of the GNU Affero General Public License as published
  45. by the Free Software Foundation, either version 3 of the License, or
  46. (at your option) any later version.
  47. This program is distributed in the hope that it will be useful,
  48. but WITHOUT ANY WARRANTY; without even the implied warranty of
  49. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  50. GNU Affero General Public License for more details.
  51. You should have received a copy of the GNU Affero General Public License
  52. along with this program. If not, see <http://www.gnu.org/licenses/agpl-3.0-standalone.html>.
  53. Credits
  54. =======
  55. Contributors
  56. ------------
  57. * Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
  58. * Rafael Blasco <rafael.blasco@tecnativa.com>
  59. * Antonio Espinosa <antonioea@antiun.com>
  60. * Javier Iniesta <javieria@antiun.com>
  61. * Jairo Llopis <jairo.llopis@tecnativa.com>
  62. Maintainer
  63. ----------
  64. .. image:: https://odoo-community.org/logo.png
  65. :alt: Odoo Community Association
  66. :target: https://odoo-community.org
  67. This module is maintained by the OCA.
  68. OCA, or the Odoo Community Association, is a nonprofit organization whose
  69. mission is to support the collaborative development of Odoo features and
  70. promote its widespread use.
  71. To contribute to this module, please visit https://odoo-community.org.