Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

How to customize certificate template?

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
certificationhelpcertificate
3 Risposte
4658 Visualizzazioni
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
Abbandona
Avatar
Jaideep
Risposta migliore

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

0
Avatar
Abbandona
Avatar
Jonny Hoang
Risposta migliore

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

0
Avatar
Abbandona
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Risposta migliore

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
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Odoo 13 version - What is the root for the file for certifications / survey Risolto
survey certification certificate
Avatar
Avatar
2
set 21
4849
V14 Functional Exam Risolto
certification exam certificate v14
Avatar
Avatar
Avatar
2
lug 21
7513
[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
694
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
giu 25
3063
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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