Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Odoo v.16 showing "placeholders" in email text

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
6 Réponses
5967 Vues
Avatar
Diego Avila

Hello,

We are having issues with the email template creation:

1. Odoo doesn't show the "dynamic placeholder generator" tool. It doesn't show it as a tab nor as an option of the dynamic menu that appears when you click on the content tab.

2. When we try to create a template by using placeholders shown in other user samples, the email shows the actual placeholder, not the text referred to:

Please see below how we are filling the fields:

Applies to: Task

Subject: Please work on this task {{ object.name }} #this placeholder does work!

Estimado:



Delivery date: {{ format_datetime(x_studio_fecha_y_hora_entrega_diseador) }}

files URL: {{ portal_url(x_studio_enlace_en_la_nube) }}

Description:  {{ format_description(x_studio_related_field_Knh5l) }}


could you please tell us what are we doing wrong? Also, it would be great if we could have access to the "dynamic placeholder generator"


thank you!

0
Avatar
Ignorer
httpmax@gmail.com

Hi. Did you ever get a reply to this? I have just submited a ticket myself.

mattia procopio

I have the same issue - I do not see the placeholder generator.

Did you get any reply about it?

Avatar
Maulik shah
Meilleure réponse

In odoo v16 email body you have to use this sysntex for dynamic content display and any other fields you can use {{object.name}} this sysntex

In Odoo v16, when creating email templates, you should use the following syntax for dynamic content display:

To display dynamic content:

To include values from other fields: {{object.name}}

By using these syntaxes, you can ensure that your email templates correctly display dynamic content and field values in Odoo v16.

0
Avatar
Ignorer
Avatar
Diego Avila
Auteur Meilleure réponse

we got a solution from the ticket we sent! I am including it below: 

After investigating the issue on a duplicate database, it seems that a Studio view was blocking the code view and Dynamic Placeholder options from showing.

To fix this, you will need to archive the inherited Studio view on the Email Template form view.

It seems that doing so only removes a blank "New Tab" that was added. Therefore, I do not think archiving the Studio view will not affect much and will allow the new features to work.

I attached screenshots from my duplicate to show the features are now present on for user XXX after I applied the steps.

Please apply these steps to your production database:
1. Go to the Email Templates > Open any template.
2. Open Studio > Go to the View tab > Click "Restore to Default View".
3. Save and close Studio.
4. Check that the features are present and usable for you.

I hope this helps, please let me know if you have any further questions or comments about this ticket.

0
Avatar
Ignorer
Avatar
Herve
Meilleure réponse

from v16 (or v15, I don't know), email body is a qweb so the equivalent of ${...} of v14 in becomes : 

<t t-out="..."></t> in the body

{{object.name}} in the other fields

0
Avatar
Ignorer
Avatar
Herve
Meilleure réponse

I found the solution here : https://www.odoo.com/fr_FR/forum/aide-1/email-templates-dynamic-placeholders-not-working-v16-223868

Use the keyboard only and it works

but it is still hard and not user friendly at all, at least with firefox and standard theme because your can't see what is your current item (it is not highlighted or something like that ! ).
My trick : So, I cope with that because at some point the list scrolls and I needed the last item in the list

0
Avatar
Ignorer
Avatar
Mariali
Meilleure réponse

este comando y al final 

0
Avatar
Ignorer
Avatar
Airam Ponce
Meilleure réponse

Usa / este comando y al final de lista tienes el generador, sin embargo, aun no se como funciona, porque aun se ubica el campo y se le da enter, aun asi queda en blanco

0
Avatar
Ignorer
Diego Avila
Auteur

Hello! actually the option doesn't show in our dynamic menu, neither the "code" icon next to the language indicator. We were adviced by the consultant that sold us the Sowftware to open a ticket, but we didn't have any replies yet.

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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