Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

PDF Export Option for QWeb Reports in odoo 17.0

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
qweb
1 Răspunde
3940 Vizualizări
Imagine profil
Tenth Planet

Hi Team,


We want to export normal qweb reports into PDF format.  We are using Odoo 17.0 community edition.  Is there any default feature or app available to enable this option.

Currently there is option to export into excel?  Also is there option to download into csv format.

Provide your inputs please.


Regards
Odoo@tenthplanet

0
Imagine profil
Abandonează
Imagine profil
Shaikh Arshan
Cel mai bun răspuns

PART 1: Export QWeb Reports to PDF in Odoo 17 Community


Step-by-Step to Export QWeb Reports to PDF

Precondition: You need to have the report action and QWeb template properly defined in your custom module.


Step 1: Define QWeb Template

In your custom module:

<template id="report_example_template">
    <t t-call="web.html_container">
        <t t-foreach="docs" t-as="doc">
            <div class="page">
                <h2>Report for <t t-esc="doc.name"/></h2>
                <p>Created on: <t t-esc="doc.create_date"/></p>
            </div>
        </t>
    </t>
</template>

Step 2: Define Report Action

<report
    id="action_report_example"
    model="your.model.name"
    string="Example Report"
    report_type="qweb-pdf"
    name="your_module.report_example_template"
    file="your_module.report_example_template"
    print_report_name="'Example Report - %s' % (object.name)"
/>


PART 2: Export to Excel and CSV in Odoo 17 Community

Step-by-Step to Export Data to Excel or CSV

Export to CSV (Built-in)

CSV export is available by default:

  1. Go to any List View (e.g., Sales Orders, Products).
  2. Select one or more records (checkbox).
  3. Click Action > Export.
  4. Choose fields to export.
  5. Choose format: CSV (default).
  6. Click Export.


Solution: Use a Free Community Module like export_xlsx

  1. Go to https://apps.odoo.com
  2. Search for: “Export XLSX” or report_xlsx module.
  3. Choose one compatible with Odoo 17 (check version).
  4. Install the module in your custom addons directory.
  5. Restart Odoo and update the apps list.
  6. Now, go to List View > Action > Export, and you'll have the XLSX format option.

Note: Ensure you have Python's xlsxwriter library installed (pip install XlsxWriter), as some modules require it.


Thanks & Regards,

Contact :-  DataInteger Consultancy Services LLP

1
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Odoo 18: Display image from char field containing url in qweb form
qweb
Imagine profil
Imagine profil
1
iul. 25
3048
QWeb: use t-if to check birthday date Rezolvat
qweb
Imagine profil
Imagine profil
1
apr. 25
3337
Odoo 17 - QWeb Reports with External Datasource Rezolvat
qweb
Imagine profil
Imagine profil
1
feb. 25
2708
Tree line field shrinked/cut
qweb
Imagine profil
0
oct. 24
2221
check if html.field is empty on Qweb report Rezolvat
qweb
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
7
sept. 24
27310
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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