Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar 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
  • Proyecto
  • 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

Adding fields in leads/opportunities & getting them in Email Templates ?

Suscribirse

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

Se marcó esta pregunta
configuration
3 Respuestas
1306 Vistas
Avatar
Julien Bayle

Hi there,

I'm very new here. Trying to customize things.

I know how to add new fields using the odoo studio, in leads.

I add new fields, renaming them etc.


Is it possible to get them into model templates ? and elsewhere (dynamic documents) ?

I guess it is.

Using logics (qweb?) would be also very fine and quite easy (I code easily) but I struggle to find a way to add this to me emails template or documents...


I tried developer mode, but no way to add "html" or qweb things in my emails template.

In them, I can type "/" to get the available placeholders. They are working and are replaced while previewing.
I create my email and "link" them from crm.lead... but no way to get my own fields and no way to code logics (if then else) as the field (body_html) doesn't allow to use them, afaik

Any help would be wonderful.

Best regards,
Julien

0
Avatar
Descartar
Julien Bayle
Autor

Hi Christopher, and thanks for your answers 

I have to confess that I didn't have tried on more than 2 different browsers, but I cannot find that specific icon (mention in the documentation) anywhere, from totally custom email, to stock ones. 

That's my missing thing here. 

Digging more... 


About the custom fields, I got it in the list. I missed mine at first. 


For documents, I mean those we call "reports" in French, I found the way in studio. For completely designing this with qweb like code. Very nice. 



Christoph Farnleitner

What icon are you talking about specifically? And what version of Odoo are you running?

Avatar
Cybrosys Techno Solutions Pvt.Ltd
Mejor respuesta

Hi,

Please refer to the link:

1. https://www.odoo.com/documentation/13.0/applications/sales/crm/acquire_leads/generate_from_email.html

This blog explains how to generate leads from email.

2. https://www.odoo.com/documentation/18.0/applications/sales/crm/acquire_leads/email_manual.html


Hope it helps.

0
Avatar
Descartar
Avatar
Julien Bayle
Autor Mejor respuesta

I was talking about the </> icon you were talking about.

Actually, only clicking somewhere was not enough, I had to select a part or the whole text field in order to clic small ... at first, then I could see </> icon. I now know that whatever I select, I can reach the code part for the whole text field.

Thanks a lot :-)

0
Avatar
Descartar
Avatar
Christoph Farnleitner
Mejor respuesta

To add fields via the inline HTML editor ("/"), use Dynamic Placeholder. The fields available to you depends on the Applies to selection on that Email Template (which should be Lead for you):


To enable the Code view, highlight some text of the Email Template content, click the vertical ellipsis, then click Code view:


From pretty much any existing Email Template you can see, how if-conditions need to be written in the template, i.e. 

<t t-if="some condition">...</t>

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

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

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
how to let "delivery to " address shows in the printed order file
configuration
Avatar
Avatar
2
nov 25
351
Do seniors get discounts on United flights?
configuration
Avatar
0
nov 25
2
accede al servicio de atención ¿Cómo hablo con un agente de Expedla?
configuration
Avatar
0
nov 25
3
l10n_co- Regla: ZB01, Rechazo: Fallo en el esquema XML del archivo
configuration
Avatar
Avatar
1
nov 25
88
Erreur de validation Le point de terminaison Peppol n'est pas valide. Le format attendu est : 0239843188
configuration
Avatar
Avatar
Avatar
Avatar
Avatar
7
nov 25
598
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información 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 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