Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

[Odoo > 8.0]How to enable email-notifications on lead creation from the website contact form?

Odoberať

Get notified when there's activity on this post

This question has been flagged
emailleadsnotificationcontactus9.0
2 Replies
13962 Zobrazenia
Avatar
Ermin Trevisan

Using standard Odoo community edition without additional modules and an almost standard setup.

1
Avatar
Zrušiť
Avatar
Ermin Trevisan
Autor Best Answer

I've spent the hell a lot of time to find out a reasonable way....this is my suggestion:


1. Email Server Setup
Setup a standard incoming email server with a catchall account as described everywhere. Setup a standard SMTP server. It is not necessary to use stuff like SMTP per user or so.


2. User email address and user email alias
Setup a user email address for the default sales person on the same domain as the catchall domain, setup an email alias with a different name in order to avoid dead locks. Example:
- user email address: john.doe@example.com
- user email alias: john-doe@example.com, set the notification preference to "always receive notifications..."


3. Website Admin: Set the default salesperson and sales team. This is nice, but has unfortunately absolutely no effect. All website contacts are nevertheless only assigned to the admin user. So we have to setup an automated action to correct this faulty behaviour which Odoo is not willing to change (see https://www.odoo.com/forum/help-1/question/how-to-set-the-default-sales-person-for-e-commerce-orders-instead-of-administrator-87414 and https://github.com/odoo/odoo/issues/4682)


4. Difference between message subtype "discussion" and message subtype "internal note"

When somebody sends an email message to a valid odoo alias (for example to sales@example.com), then this is a message of the subtype discussion. For such messages email notifications are sent to the followers according to the notification preference of the users. In this case we do not have a problem.
But messages from the creation of new lead through the website contact form are internal notes, and for internal notes there is no automatic email notification in standard Odoo. So we have to create our own automated action to do this.


This process has 3 steps, first we create an email template to define a proper message, secondly we create a server action which sends an email notification using our defined template and at last we define an automated action, which assigns the new lead created to the default sales person and sends an email notification.
Step 1:
Duplicate the email template "Reminder to User" and adapt it according your taste, rename it for example as "New Lead Notification"
Step 2:
Create a server action named "New Lead Notification", action to do: send email, base model "Lead/Opportunity", email template "New Lead Notification"
Step 3:
Create an automated action to assign the new lead to the default sales person and send an email notification to this sales person:
Create a new automated action, name it "Assign default sale person to lead", set "when to run" as "On creation", then on the Actions tab define the "Responsible" as your default sales person and add him and others as followers as you like. Under "Server actions to run" add our server action defined in Step 2.
Please make sure you have installed the module base_action_rule (Odoo <=10.0) or base_automation (Odoo 11.0).


Finished!


Side note: If you are doing this, you have to use a SMTP/MTA service which allows to relay messages, because the sender is the original sender of the email or the contact request outside of Odoo and this message is forwarded by Odoo to the sales person also outside of Odoo, this is not always accepted (Amazon SES for example does not accept it).

3
Avatar
Zrušiť
Avatar
Philippe Thuaud
Best Answer

Thanks @Ermin

It worked for me.


0
Avatar
Zrušiť
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrácia
Related Posts Replies Zobrazenia Aktivita
Website Contact Form Both Send E-Mail and Add Lead/Opportunity
leads contactus
Avatar
0
jan 25
1391
CAN I CONFIGURE DIFFERENT OUTGOING EMAILS?
email leads
Avatar
0
aug 22
2687
[9.0]Using a different email template for sending orders and invoices Solved
email 9.0
Avatar
Avatar
1
jan 17
4474
Is there an Email Notification on Leads/Issues?
email notification
Avatar
Avatar
4
aug 16
7286
Mail Notification while approving leave in OpenERP in Andoird
email notification
Avatar
0
mar 15
4829
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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