Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Odoo 12, Error with translation on email templates

Odebírat

Get notified when there's activity on this post

This question has been flagged
templatesemailingemailtemplateOdoo12.0
2 Odpovědi
7294 Zobrazení
Avatar
Wolfgang Linder

hi,

i just installed Odoo 12 on a Ubuntu 18.04 server. After the fresh installation, everything worked fine, then i loaded the German translation, after i applied it to a customer, the system gives me a error message when i try to send a quotation via email.

The error message:

Fehler beim Erstellen der Vorlage <Template memory:7f2207a71780> mit den Werten {'format_date': <function MailTemplate._render_template.<locals>.<lambda> at 0x7f2215954400>, 'format_tz': <function MailTemplate._render_template.<locals>.<lambda> at 0x7f2215954d08>, 'format_amount': <function MailTemplate._render_template.<locals>.<lambda> at 0x7f2215954ae8>, 'user': res.users(2,), 'ctx': {'lang': 'de_DE', 'tz': False, 'uid': 2, 'active_model': 'sale.order', 'active_id': 3, 'active_ids': [3], 'default_model': 'sale.order', 'default_res_id': 3, 'default_use_template': True, 'default_template_id': 15, 'default_composition_mode': 'comment', 'mark_so_as_sent': True, 'custom_layout': 'mail.mail_notification_paynow', 'proforma': False, 'force_email': True, 'search_disable_custom_filters': True, 'tpl_partners_only': True}, 'object': mail.template(3,)}


...the pdf is not generated, the email preview is empty. 

if i switch the customer back to english, the error disappears but odoo needs to genereate german pdfs for its shop.

edit: the error does not only occur with quotations, i get this error on every task which involves translated email templates.

how do i fix this?


thanks

1
Avatar
Zrušit
Avatar
Nihad Perva
Nejlepší odpověď

hi,

there is a translation error in the sales order mail template, replace .ersetzen with .replace

https://ibb.co/FgMkzwF

0
Avatar
Zrušit
Avatar
Marc Lehmann
Nejlepší odpověď

Hi,

Got the same Error in eCommerce Odoo12. Language settings in eCommerce is english and shop user language is german. During the order process in Review Order you will check the "Process Checkout" Button to the next step and it is working fine. In the confirmation overview Page we press the button "Pay Now". The Browser page generates "Internal Server Error".

Odoo .log File:

File "/odoo/odoo/addons/mail/models/mail_template.py", line 338, in _render_template raise UserError(_("Failed to render template %r using values %r")% (template, variables)) odoo.exceptions.UserError: ("Fehler beim Erstellen der Vorlage <Template memory:7f7e27a98e10> mit den Werten {'format_date': <function MailTemplate._render_template.<locals> ......

Switch Shop User language to english the whole eCommerce order process is working fine.

Any idea?

0
Avatar
Zrušit
Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Lost in email campaign template management: custom templates, styles editor Vyřešeno
templates emailing
Avatar
Avatar
3
bře 24
3600
Sending template sale order to several customers
templates sale.order emailing
Avatar
Avatar
1
kvě 24
1660
Change default recipient for Invoice: Sending email template Vyřešeno
templates invoces emailtemplate
Avatar
Avatar
Avatar
3
bře 24
5739
how to modify / set language for "send message" email in project task?
emailing emailtemplate email_template
Avatar
0
čvn 23
2957
XML Template Email
email templates emailtemplate
Avatar
Avatar
3
úno 18
8282
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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