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

How to customize certificate template?

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
certificationhelpcertificate
3 Respostas
4644 Visualizações
Avatar
Fatin

Can we customize the template or it's default template already. I meant by customize is the design, the font, the logo placement. I'm using odoo V16 Enterprise Edition and i already subscript for 1 year.

0
Avatar
Cancelar
Avatar
Jaideep
Melhor resposta

https://www.odoo.com/forum/help-1/how-can-i-customize-the-elearning-certifications-certificates-219868

0
Avatar
Cancelar
Avatar
Jonny Hoang
Melhor resposta

Check my module https://apps.odoo.com/apps/modules/16.0/hh_elearning_custom_certificate

0
Avatar
Cancelar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Melhor resposta

Hi,

You can refer to the code for example: We share the award certificate for the employee award module python file in the report folder:

class AwardCertificate(models.AbstractModel):
    _name = 'report.module_name.report_award_certificate'
    _description = 'Award Certificate'

    @api.model
    def _get_report_values(self, docids, data=None):

        """ Returns data to the template"""
        return {
            'doc_model': 'awards.rewards',
            'data': data,
            'docs': self.env['awards.rewards'].browse(data['id']),
        }
XML file in the report folder

<template id="report_award_certificate">
        <t t-call="web.html_container">
            <t t-call="web.basic_layout">
                <div class="backgroundimage">
                    <div style="position:relative;">
<img src="/module_name/static/src/images/background.jpeg" style="width:760px;height:755px;"/>
                        <div style="position: absolute; top: 360px; left: 60px;width: 650px;">
                            <h1 style="text-align: center;"><b><i>
                                <span t-if="data['nominee']"
style="text-transform:uppercase;text-transform:uppercase;font-family:sans-serif;"
t-esc="data['nominee'].employee_number"/>
                                <span t-if="docs.nominee_id"
style="text-transform:uppercase;text-transform:uppercase;font-family:sans-serif;"
t-esc="docs.nominee_id.employee_number"/>
<span t-else="" style="text-transform:uppercase;font-family:certification-serif;padding-left: 20px;"
t-esc="docs.nominee_id.name"/>
 
                          </i></b></h1>
                        </div>
                        <div style="position:absolute; bottom:190px; right:361px;">
                            <h6>
<span style="text-transform:uppercase;" t-esc="docs.award_for_month"/>
                            </h6>
                        </div>
                        <div style="position:absolute; bottom:190px; right:200px;">
<h6><span t-esc="docs.award_for_year_id.year"/></h6>
                        </div>
                        <div style="position:absolute; bottom:232px; right:80px;width:600px;">
                            <h4 style="text-align: center;">
<span style="font-family: certification-serif;" t-esc="docs.category_id.name"/>
                            </h4>
                        </div>
                        <div style="position:absolute; bottom:130px; left:40px; width:300px;">
                            <h5 style="text-align: center;">
                                <span t-if="data['nominee']"
style="text-transform:uppercase;font-family: Arial;"
t-esc="data['nominee'].department_id.manager_id.name"/>
<span
t-else="" style="text-transform:uppercase;font-family: Arial;"
t-esc="docs.department_id.manager_id.name"/>
                            </h5>
                        </div>
                        <div style="position:absolute; bottom:130px; right:40px; width:300px;">
<h5 style="text-align: center;"><span style="text-transform:uppercase;font-family: Arial;"
t-esc="data['chairman'].name"/></h5>
                        </div>
                    </div>
<div style="position:relative;margin-top:20px;border-top: 1px dashed black">
                    </div>
                    </div>
            </t>
        </t>
    </template>

In this way, you can create your own template for your custom models

Hope it helps

0
Avatar
Cancelar
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
Odoo 13 version - What is the root for the file for certifications / survey Resolvido
survey certification certificate
Avatar
Avatar
2
set. 21
4841
V14 Functional Exam Resolvido
certification exam certificate v14
Avatar
Avatar
Avatar
2
jul. 21
7512
[UA GuíA pArA ApOyo^@]¿Cómo hablo con alguien de United? #UAA TELEFONO
help
Avatar
0
nov. 25
3
request for information
help
Avatar
Avatar
1
set. 25
690
Hello everyone, I need your help; I want to make a custom header to print my pdf reports.
help
Avatar
Avatar
Avatar
Avatar
Avatar
4
jun. 25
3049
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