Search Here

Creating reports using qweb in Odoo

 In this article you will learn how to create custom qweb report from scratch. During this tutorial I will also bind paperformat with qweb reports. You will also learn qweb operations like how to use conditional statements and nested loops.

create-custom-report-in-odoo-using-qweb

After reading this article you will be able

  1. How to create custom reports using QWEB reporting engine
  2. How to set paperformat in QWEb report
  3. How to bind paperformat with our newly created QWEB report
  4. How to define conditional statements in QWEB report
  5. Getting one2many relational fields data or values in QWEb report
  6. How to use nested loops in QWEb
  7. How to show data in ordered list in QWEB report
  8. Creating table inside table-row in QWEB report

Follow below steps to create qweb report

  1. Create a new xml file 
  2. Notify Odoo from the new report (register that file in __openerp.py__)

Post a Comment

2 Comments

  1. hi, thanks for this guide, can i use it in Odoo 14 to learn / check how it works. please inform about changes if any like to etc.
    regards

    ReplyDelete
    Replies
    1. Yes, the idea is same, but the syntax is little bit different

      Delete