Перейти к содержимому
Odoo Меню
  • Войти
  • Попробовать бесплатно
  • Модули
    Финансы
    • Бухгалтерия
    • Выставление счетов
    • Расходы
    • Таблицы
    • Документооборот
    • Подпись
    Продажи
    • CRM
    • Продажи
    • POS Магазин
    • POS Ресторан
    • Подписки
    • Аренда
    Вебсайты
    • Конструктор вебсайтов
    • eCommerce
    • Блог
    • Форум
    • Онлайн-чат
    • Электронное обучение
    Логистика
    • Склад
    • Производство
    • PLM
    • Закупки
    • Обслуживание
    • Качество
    Отдел кадров
    • Сотрудники
    • Подбор персонала
    • Отпуска
    • Оценка персонала
    • Реферальная программа
    • Автопарк
    Маркетинг
    • SMM
    • E-mail рассылки
    • СМС рассылки
    • Мероприятия
    • Автоматизация маркетинга
    • Опросы
    Услуги
    • Проекты
    • Табели
    • Выездной сервис
    • Поддержка
    • Планирование
    • Встречи
    Продуктивность
    • Обсуждения
    • Согласование
    • IoT
    • VoIP-телефония
    • Knowledge
    • WhatsApp
    Сторонние приложения Модуль Студия Odoo Платформа Odoo Cloud
  • Индустрии
    Розничная торговля
    • Книжный магазин
    • Магазин одежды
    • Мебельный магазин
    • Продуктовый магазин
    • Строительный магазин
    • Магазин игрушек
    Гостинично-ресторанный бизнес
    • Бар и паб
    • Ресторан
    • Фастфуд
    • Гостевой дом
    • Дистрибьютор напитков
    • Отель
    Недвижимость
    • Агентство недвижимости
    • Архитектурное бюро
    • Строительство
    • Управление недвижимостью
    • Ландшафтный дизайн
    • Товарищество собственников жилья
    Консалтинг
    • Бухгалтерская фирма
    • Партнер Odoo
    • Маркетинговое агентство
    • Юридическая фирма
    • Подбор персонала
    • Аудиторское бюро
    Производство
    • Текстиль
    • Металл
    • Мебель
    • Продукты питания
    • Пивоварня
    • Корпоративные сувениры
    Здоровье и фитнес
    • Спортивный комплекс
    • Магазин оптики
    • Фитнес-клуб
    • Велнес-центр
    • Аптека
    • Салон красоты
    Услуги
    • Специалист по бытовым услугам
    • Продажа и обслуживание IT-оборудования
    • Солнечные энергосистемы
    • Производство обуви
    • Клининг
    • Системы ОВКВ
    Прочее
    • Некоммерческая организация
    • Консалтинг в сфере устойчивого развития
    • Аренда рекламных щитов
    • Бизнес по фотосъемке
    • Прокат велосипедов
    • Реселлер программного обеспечения
    Все индустрии
  • Community
    Обучение
    • Видео уроки
    • Документация
    • Сертификация
    • Тренинг
    • Блог
    • Подкаст
    Образование и развитие
    • Образовательная программа
    • Деловая игра Scale Up!
    • Экскурсия в офис Odoo
    ПО
    • Скачать
    • Сравнить версии
    • Релизы
    Сотрудничество
    • Github
    • Форум
    • Мероприятия
    • Перевод
    • Стать партнером
    • Услуги для партнеров
    • Зарегистрировать бухгалтерскую фирму
    Услуги
    • Найти партнера
    • Найти бухгалтера
    • Встреча с экспертом
    • Услуги по внедрению
    • Отзывы клиентов
    • Поддержка
    • Обновления
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Заказать демонстрацию
  • Цены
  • Поддержка

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Бухгалтерия
  • Склад
  • PoS
  • Проекты
  • MRP
All apps
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Все посты Люди Значки
Теги (Смотреть все)
odoo accounting v14 pos v15
Об этом форуме
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Все посты Люди Значки
Теги (Смотреть все)
odoo accounting v14 pos v15
Об этом форуме
Помощь

Automation rules

Подписаться

Получайте уведомления о появлении активности в этом посте

Этот вопрос был отмечен
emailAutomationodoo17
3 Ответы
4917 Представления
Аватар
ITANDWEBSUPPORT LTD

Is it possible to send an email to an external address using 'Automation Rules'? I want to send an email to sales@mydomain.com when a website order is placed. 

I am running Odoo17 Enterprise on premise.

0
Аватар
Отменить
Аватар
Sujata
Лучший ответ

Hello Labtree ltd,

Here are the steps to Send an Email Using Automation Rules:

  1. Go to Automation Rules:
    • Navigate to Settings > Technical > Automation > Automated Actions.
  2. Create a New Automated Action:
    • Click Create to add a new automation rule.
  3. Define the Trigger:
    • Model: Set the model to Sale Order (since you're working with website orders).
    • Trigger Condition: Choose On Creation or On Update (depending on when you want the email to be sent).
    • Filter: Add a domain filter to check if the sale order is from the website, using the website_id field. The domain might look something like:
      website_id field. 
      The domain might look something like: [('website_id', '!=', False)]
      {In Odoo, every time an order is created from the website, it has a website linked to the order. You can also use teams to apply the domain.}
  4. Add Server Action:
    • In the Action to Do dropdown, choose Send Email.
    • In the Email Template field, you can create or select an email template. This template will define the content of the email.
      [ I have added the steps with screenshot at the end, how to create an email template ]
  5. Save the Automation Rule:
    • Once you've configured everything, save the rule.


Here are the steps to Create an Email Template with Dynamic Sales Order Information:

  1. Navigate to Email Templates:
    • Go to Settings > Technical > Email > Templates.
  2. Create a New Email Template:
    • Click on the Create button to start a new template.
  3. Basic Template Settings:
    • Name: Give your template a meaningful name, such as "Sales Order Notification for Website Orders".
    • Model: Select Sale Order from the model dropdown. This will link the template to the sale order data.
    • To (Email): Enter the email where you want the email to be sent (e.g., sales@mydomain.com).
  4. Subject:
    • You can make the subject dynamic by using placeholders to include details like the sale order name. 
      For example: New Sale Order {{ object.name }} from Website
  5. Email Body (HTML):
    • In the body of the email, use Odoo's templating language (Jinja2) to insert dynamic fields from the Sale Order model.
  6. Optional: Attach the Sale Order PDF:
    • Scroll down to the Advanced Settings section.
    • In the Optional Report to Print field, select Sale Order / Quotation to attach the PDF version of the sales order to the email.
  7. Save the Template:
    • Once you have configured the template, click Save.


Let me know, if it helps.

0
Аватар
Отменить
Аватар
ITANDWEBSUPPORT LTD
Автор Лучший ответ

Thanks to both of you for the information. I have now got this working. I cannot click on the upvotes or ticks as I don't have enough Karma? :/

0
Аватар
Отменить
Sujata

You're welcome! I'm glad to hear it's working now. No worries about the upvotes or ticks, I appreciate the feedback!
Feel free to reach out if you need further assistance in the future. :)

Аватар
Parker D
Лучший ответ

Hi Labtree Ltd :)
yeah sure. You can get into the developer or debug mode and then access the "automated actions". There are countless good tutorials on YouTube and also here in the forum for several versions of Odoo. I try to sum some things up for you:

  1. You have to have this module installed:  base_automation
  2. Then you can enter the developer or debug mode. Here is the documentation.
  3. Then you go to: Settings -> Technical -> Automation -> Automated Actions
  4. Then you can add a new action

These actions work based on certain triggers, like creating data like a contact or changing something of some data like setting a delivery order to "done". 

If you google "Odoo automated action e-mail" you should find said tutorials.

For your case and since I have a similar automated action in my Odoo 14, here some infos for your to solve your problem: 

  • Set the model to "Sales Order"
  • Set the trigger to "On Update"
  • As Trigger Fields choose "Status (sale.order)"
  • On Before Update Domain you have to choose nothing
  • On Apply I use ["&",["state","=","sent"],["team_id","=","Website"]]. You can directly copy that into the black code editor and of cause adjust it, if you need to.
  • Set Action To Do to "Send Email"
  • For Email Template you have can go to the mail template "Sales Order: Confirmation Mail", copy that, adjust it and then choose your copied template for you automated action. 

I hope, this helps you and saves you some time.

0
Аватар
Отменить
Не оставайтесь в стороне – присоединяйтесь к обсуждению!

Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!

Регистрация
Похожие посты Ответы Просмотры Активность
How to create an Automated action for Sending a Warning Mail based on a date field in sale.order.line model,
email Automation
Аватар
0
февр. 25
2236
I need help setting up Odoo 17 to send quotes to customers' emails
email odoo17
Аватар
Аватар
1
окт. 24
3658
Automation Rules Installer
Automation odoo17
Аватар
1
сент. 24
1300
Maintenance module automation not sending emails
email Automation Maintenance
Аватар
Аватар
Аватар
2
июн. 23
3223
Automation Email History on Sales Orders
email history Automation odoo16features
Аватар
0
июл. 23
2035
Сообщество
  • Видео уроки
  • Документация
  • Форум
Открытый исходный код
  • Скачать
  • Github
  • Runbot
  • Перевод
Услуги
  • Хостинг Odoo.sh
  • Поддержка
  • Обновление
  • Индивидуальные решения по доработке
  • Образование
  • Найти бухгалтера
  • Найти партнера
  • Стать партнером
О нас
  • Наша компания
  • Активы бренда
  • Cвяжитесь с нами
  • Вакансии
  • Мероприятия
  • Подкаст
  • Блог
  • Клиенты
  • Правовые документы • Конфиденциальность
  • Безопасность
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo – это набор бизнес-модулей с открытым исходным кодом, который закроет все потребности вашей компании: CRM, E-commerce, Бухгалтерия, Склад, POS, управление проектами и др.

Odoo сочетает в себе простоту использования и полную интеграцию всех бизнес-процессов в одной системе.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now