Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

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

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
configuration
3 Respostas
1267 Visualizações
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
Cancelar
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
Melhor resposta

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
Cancelar
Avatar
Julien Bayle
Autor Melhor resposta

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
Cancelar
Avatar
Christoph Farnleitner
Melhor resposta

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
Cancelar
Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
How can I configure a Salesperson group: own documents that can create, edit, and import their own leads in Odoo 18?
configuration
Avatar
Avatar
Avatar
Avatar
3
nov. 25
369
Online signature
configuration
Avatar
Avatar
1
nov. 25
170
Erreur de validation Le point de terminaison Peppol n'est pas valide. Le format attendu est : 0239843188
configuration
Avatar
Avatar
Avatar
Avatar
Avatar
6
nov. 25
549
How to link a new field between 2 modules.
configuration
Avatar
Avatar
Avatar
2
nov. 25
443
¿Cómo se llama avianca en El Salvador?❖Ayuda ☏ 503 ❖
configuration
Avatar
0
nov. 25
2
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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