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í
    Food & Hospitality
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Guest House
    • Distributor nápojů
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Trades
    • Údržbář
    • IT hardware a podpora
    • Solar Energy Systems
    • Výrobce obuvi
    • Úklidové služby
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Browse all Industries
  • 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
    • Services for Partners
    • 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

Report not encoded in UTF-8

Odebírat

Get notified when there's activity on this post

This question has been flagged
reportutf8
3 Odpovědi
8729 Zobrazení
Avatar
Mandresy Randriatavy

Hi,

I've created a custom report with Odoo Studio for my payslip. In the preview it's looks good with no encoding issue but once printed it's seems there is no encoding for special characters..

How to see the encoding ?

0
Avatar
Zrušit
Avatar
Mandresy Randriatavy
Autor Nejlepší odpověď

I found my solution:

The problem
I overrided the base report with my custom report. But I just changed the t-call of the content which I think lead to a layout uncompatibility.

What I've done
To solve it, I just replace what's inside the t-name base with what's inside my custom t-name caller.

Thanks to Mr NAZIR tho, he's response is legit in some case.

Hope it's help,
RANDRIATAVY Mandresy

0
Avatar
Zrušit
Avatar
voodoo.software
Nejlepší odpověď

I found this solution:

add after web.html_container


meta charset="UTF-8"  


Thanks

ps. Pasting HTML here seems to be impossible. 

0
Avatar
Zrušit
Avatar
Muhammad Amir Nazir
Nejlepší odpověď

To check the encoding of a custom report in Odoo, you can follow these steps:

  1. Go to "Settings > Technical > Actions > Reports" and find the report that you want to check.

  2. Click on the report to open it in edit mode.

  3. Scroll down to the "Report Data" section and click the "Edit" button next to the "Template" field. This will open the report template in a text editor.

  4. Look for the encoding declaration at the top of the template file. It should be in the form of a comment, like this:

Copy code

This tells the report engine which character encoding to use when rendering the report. In this example, the encoding is set to "utf-8", which is a widely used encoding that supports most languages and special characters.

If the encoding declaration is missing or incorrect, you may see encoding issues when printing the report. To fix this, you can add or update the encoding declaration to match the correct character encoding of the report.

I hope this information is helpful. If you have any further questions or need additional guidance, please don't hesitate to ask.


0
Avatar
Zrušit
Mandresy Randriatavy
Autor

Hi,

Thanks for your answer! But it's seems we don't have the same informations in our screens..

When I open the report there's no "Report Data" section not even a scrollbar, there's no "Edit" button next to the "Template Name" field.

Even tho, I found where you wants me to be.. But that's where I already tried to do it. There is no encoding and when I try to set one there a pop up saying: "Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration."

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
How can I generate localized UTF-8 reports ?
report i18n utf8
Avatar
0
kvě 22
5256
Report with a different footer in the first page. How to do it?
report
Avatar
Avatar
2
lis 25
259
How to make snaking column layout for report ?
report
Avatar
0
říj 24
2475
Report between 2 accounts
report
Avatar
0
srp 24
2199
agregar un campo a etiqueta de producto.
report
Avatar
0
led 24
2577
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