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
    • Artificial Intelligence
    • 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
    • Property 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
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

Template creation failed inline_template: invalid syntax (, line 1))

Subscribe

Get notified when there's activity on this post

This question has been flagged
5 Replies
5002 Views
Avatar
AHMED SAYADIA_

Hello professionals... 
I have a problem with the sales module..... when sending the price offer via e-mail



0
Avatar
Discard
Avatar
Marcel Emile Behar Fernandez
Best Answer

I have a problem in my translation where this symbol " ' " was in some places as " ´ ". Replaced all and my templates started to work again. Thanks for the hint!

0
Avatar
Discard
Avatar
Domisi Oy
Best Answer

Hi I just had same error and found solution for this. Spend hours to figure it out and what was wrong. I'm using odoo 16 so the solution is for that, i guess it will work on other versions as well. At least it gives some hint to where to look at it.


You should go to email templates open that template -> settings and in field report name and open tranlation in right and you should find an extra bracket without closing bracket in that field. Just remove that extra bracket and it should work.



0
Avatar
Discard
Avatar
arick111
Best Answer

I just wanted to express my gratitude for the time I spent reading your post.

0
Avatar
Discard
Avatar
Michael Ramb
Best Answer

Hello, i have the same error. Did you solve this?
br
Mike

0
Avatar
Discard
Avatar
Malik Imad Khan
Best Answer

Hello Ahmed,

This issue arises, when something is wrong in the template. My suggestion would be to check the code parts of the different translations and see if the code or some part of it has been translated. 

Without the screenshot of the email template, it is hard to pinpoint the exact problem 

0
Avatar
Discard
AHMED SAYADIA_
Author

Thank you very much.... for your interest and reply.

Is that what you mean

AHMED SAYADIA_
Author

<div style="margin: 0px; padding: 0px;">
<p style="font-weight:700;color:rgba(0, 0, 0, 0.4);box-sizing:border-box;margin: 0px; padding: 0px; font-size: 13px;">
<t t-set="doc_name" t-value="'quotation' if object.state in ('draft', 'sent') else 'order'" data-oe-t-inline="true"></t>
Hello,
<br><br>
Your
<t t-if="ctx.get('proforma')" data-oe-t-group-active="true">
Pro forma invoice for <t t-out="doc_name or ''" data-oe-t-inline="true">quotation</t> <strong t-out="object.name or ''" style="box-sizing:border-box;font-weight:bolder;">S00052</strong>
<t t-if="object.origin" data-oe-t-group-active="true">
(with reference: <t t-out="object.origin or ''" data-oe-t-inline="true"></t> )
</t>
amounting in <strong t-out="format_amount(object.amount_total, object.pricelist_id.currency_id) or ''" style="box-sizing:border-box;font-weight:bolder;">$ 10.00</strong> is available.
</t>
<t t-else="">
<t t-out="doc_name or ''" data-oe-t-inline="true">quotation</t> <strong t-out="object.name or ''" style="box-sizing:border-box;font-weight:bolder;"></strong>
<t t-if="object.origin" data-oe-t-group-active="true">
(with reference: <t t-out="object.origin or ''" data-oe-t-inline="true">S00052</t> )
</t>
amounting in <strong t-out="format_amount(object.amount_total, object.pricelist_id.currency_id) or ''" style="box-sizing:border-box;font-weight:bolder;">$ 10.00</strong> is ready for review.
</t>
<br><br>
Do not hesitate to contact us if you have any questions.
<br>
</p>
</div>

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 Svenska ภาษาไทย 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