Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

Report not encoded in UTF-8

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
reportutf8
3 Respostas
8705 Visualizações
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
Cancelar
Avatar
Mandresy Randriatavy
Autor Melhor resposta

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
Cancelar
Avatar
voodoo.software
Melhor resposta

I found this solution:

add after web.html_container


meta charset="UTF-8"  


Thanks

ps. Pasting HTML here seems to be impossible. 

0
Avatar
Cancelar
Avatar
Muhammad Amir Nazir
Melhor resposta

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
Cancelar
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."

Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
How can I generate localized UTF-8 reports ?
report i18n utf8
Avatar
0
mai. 22
5236
Report with a different footer in the first page. How to do it?
report
Avatar
Avatar
2
nov. 25
180
How to make snaking column layout for report ?
report
Avatar
0
out. 24
2440
Report between 2 accounts
report
Avatar
0
ago. 24
2157
agregar un campo a etiqueta de producto.
report
Avatar
0
jan. 24
2545
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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