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.

73 lines
2.8 KiB

  1. ===========================================
  2. Email Addresses and Templates per Website
  3. ===========================================
  4. Installation
  5. ============
  6. * `Install <https://odoo-development.readthedocs.io/en/latest/odoo/usage/install-module.html>`__ this module in a usual way
  7. Configuration
  8. =============
  9. Access to websites
  10. ------------------
  11. * Go to menu ``[[ Settings ]] >> Users & Companies >> Users``
  12. * Select a user
  13. * Grant access ``[x] Multi Websites for Backend``
  14. * Configure **Allowed Websites**
  15. User's email per website
  16. ------------------------
  17. * Refresh page if you just granted your user access to websites
  18. * Use top right-hand corner button with current website name to switch between websites
  19. * Use top right-hand corner button with user name and avatar to open
  20. Preference popup. When you edit **Email** field, it will be saved as a value
  21. for current website.
  22. Email template per website
  23. --------------------------
  24. * Refresh page if you just granted your user access to websites
  25. * `Activate Developer Mode <https://odoo-development.readthedocs.io/en/latest/odoo/usage/debug-mode.html>`__
  26. * Use top right-hand corner button with current website name to switch between websites
  27. * Go to menu ``[[ Settings ]] >> Technical >> Email >> Templates``
  28. * When you edit template, following fields will be saved as a value for current website:
  29. * **Body**
  30. * **Outgoing Mail Server**
  31. * **Optional report to print and attach**
  32. * Additional variable ``website`` is available to configure rest fields (**Subject**, **From**, etc.)
  33. Note. If related record (e.g. ``sale.order``) has field ``company_id`` or ``website_id`` those values will be used instead of currently selected in Website / Company Switchers
  34. Alias domain per website
  35. ------------------------
  36. Configure ``mail.catchall.domain`` per website. See Documentation of the module `Context-dependent values in System Parameters <https://apps.odoo.com/apps/modules/10.0/ir_config_parameter_multi_company>`__.
  37. Outgoing mails servers per website
  38. --------------------------
  39. If each domain has different Outgoing Mail Server you need following adjustments
  40. * Got to menu ``[[ Website ]] >> Configuration >> Websites``
  41. * In each Website specify field **Outgoing Mails**
  42. Properties
  43. ----------
  44. To review properties by website use menu ``[[ Settings ]] >> Technical >> Parameters >> Company Properties``. See **How it works** in Documentation of module `Website Switcher in Backend <https://apps.odoo.com/apps/modules/10.0/web_website>`__.
  45. Usage
  46. =====
  47. When you work from backend, Email for current website is used.
  48. When a user do something on website (e.g. purchase products) and some mail is sent, then email address for that website will be used (mostly Administrator's email address).
  49. When email is sent, template's value like body, subject, etc. for current values are used.