Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Email notification on contact form submission ?

Subscriure's

Get notified when there's activity on this post

This question has been flagged
7 Respostes
19176 Vistes
Avatar
Alain Vanzella

Is there a way to get notified by email when a visitor submits the contact form on the website?

Thanks

1
Avatar
Descartar
Avatar
Marek Matej
Best Answer

Hi Alain and all,

the answer to your question is to trigger server action on creating new lead:

0) Preparation

  • Setup and test outgoing email server

  • Enable developer mode from Administrator->About-> ... Enable developer mode

1) Create notification email template: Technical->Email->Templates

  • Name the new template (say my.crm.notification)

  • set Applies to Lead/Opportunity. Use fields found in form (object.name, object.description, object.email_from, etc...)

  • save it

2) Create server action: Technical->Actions->Server Actions

  • Name it (say my.action.lead-create)

  • set base model to Lead/Opportunity

  • set Action to do "Send email"

  • set condition "True" to allow unconditional run

  • select email template you created in previous step (my.crm.notification)

  • save it


3) Create automated action: Technical->Automation->Automated Actions

  • name it(say my.auto-action.lead-create)

  • set related document model to Lead/Opportunity

  • check Active

  • set sequence number to positive

  • set When to run "On Creation"

  • on Action tab, add your desired actions

    • in this case find and select previously created my.action.lead-create


4) Set processing period: Technical->Automation->Scheduled Actions

  • select "Email Queue Manager"

  • set Active

  • set Interval Number and Interval Unit to desired period

  • save it


This should be all. Let me know if I forgot something so I can update whole process.


MM.

5
Avatar
Descartar
José Elcorrobarrutia - Oxe360

Excellent @marek !! works in every case!

Damon

This works really well, thank you. Can you direct me to where I might find information on how to pull the data from the lead into the outgoing email? email address or lead name. Thanks again.

Damon

This is what I got working for me:

#Subject# LEAD: ${object.name} from ${object.partner_id != False and object.partner_id.name or object.contact_name}

#body#Hello ${object.user_id and object.user_id.name or ''},

You have a new Lead from ${object.partner_id != False and object.partner_id.name or object.contact_name} ${object.email_from} re: ${object.name} :

${object.description}

#eof#

Now my leads populate my Trello Board which I am in all day long.

george

@Marek Matej, thanks for the explanation. It works well.
I created another template for the user who submits the form which aims to send an automatic email something like this: "Thank you for contacting us! We will reply you back soon".

I followed exactly the same steps you described. It also worked fine and send email to the user who submits the form but I have a problem here. Since I selected the base model to Lead/Opportunity, it also send emails when I create manual Leads too. I checked if I can find an option to apply this only for Contact form submission but there is no option for that.

Do you have any solution for that?

Avatar
Kamran Ali
Best Answer

Any one reading this solution in Oct 2017 with Odoo11?

Please note that below settings are not shown by default. 

"3) Create automated action: Technical->Automation->Automated Actions"

I had to install "Automated action rules" app to get Automated Actions option under the Technical->Automation.

Hope it helps...

3
Avatar
Descartar
Avatar
Alain Vanzella
Autor Best Answer

Hi Marek and all,

Thank you Marek for your suggestion to trigger server action on creating new lead.

There is now a module on the app store that does the job:

\https://apps.openerp.com/apps/modules/9.0/website_crm_notify/


1
Avatar
Descartar
Avatar
Bruno JOLIVEAU
Best Answer

When a visitor submit the contact form on your website, it create a crm.lead by default.

You have several choice :

  • can build yourself a homepage with dashboard(s) about new crm.lead
  • modify notifications or add yourself on each new crm.lead to receive a mail

I prefer the first, more eficient in my opinion.

0
Avatar
Descartar
Avatar
Andrea Cometa
Best Answer

is there any other solution? i think email is a better way, but i cannot see any usefull configuration paramater ...

0
Avatar
Descartar
Avatar
Nicolas
Best Answer

Hi All,

And thanks Bruno for you answer.

Could someone explain me how to "modify notifications or add yourself on each new crm.lead to receive a mail" as proposed by Bruno.

Not sure to understand how to do that (debug mode ? I am running odoo v9).

Thx, Best Regards,

PS: I added myself (administrator) as "follower" for the sales teams and i should receive updates when new opportunities are created but it seems that I do not receive notification when the new opportunities are coming from the contact form... is that correct ?

0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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