Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

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

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
emailleadsnotificationcontactus9.0
2 Respuestas
13970 Vistas
Avatar
Ermin Trevisan

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

1
Avatar
Descartar
Avatar
Ermin Trevisan
Autor Mejor respuesta

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
Descartar
Avatar
Philippe Thuaud
Mejor respuesta

Thanks @Ermin

It worked for me.


0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
Website Contact Form Both Send E-Mail and Add Lead/Opportunity
leads contactus
Avatar
0
ene 25
1396
CAN I CONFIGURE DIFFERENT OUTGOING EMAILS?
email leads
Avatar
0
ago 22
2696
[9.0]Using a different email template for sending orders and invoices Resuelto
email 9.0
Avatar
Avatar
1
ene 17
4484
Is there an Email Notification on Leads/Issues?
email notification
Avatar
Avatar
4
ago 16
7289
Mail Notification while approving leave in OpenERP in Andoird
email notification
Avatar
0
mar 15
4834
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

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