Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Odoo v.16 showing "placeholders" in email text

Subscribe

Get notified when there's activity on this post

This question has been flagged
6 Replies
6233 Views
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
Discard
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
Best Answer

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
Discard
Avatar
Diego Avila
Author Best Answer

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
Discard
Avatar
Herve
Best Answer

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
Discard
Avatar
Herve
Best Answer

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
Discard
Avatar
Mariali
Best Answer

este comando y al final 

0
Avatar
Discard
Avatar
Airam Ponce
Best Answer

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
Discard
Diego Avila
Author

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.

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

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

Sign up
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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