-
Sans catégorie
-
1-How to Install Pycharm and Configure PostgreSQL on Ubuntu
-
2-How to Configure Odoo 14 on Pycharm Ubuntu
-
3-Building a Module With Menus and Actions in Odoo 14
-
4-Compositions of a Odoo 14 Module
-
5- Structure of a Odoo 14 Module
-
6- Creating an Empty Module Structure Using Scaffold in Odoo 14
-
7- Adding Data Files in to Your Odoo 14 module
-
8- Basic Views in Odoo 14 (Tree, Form, and Search)
-
9-Relations Between Models: Many2One Fields in Odoo 14
-
10-Relations Between Models: One2Many Fields in Odoo 14
-
11-Relations Between Models: Many2Many Fields in Odoo 14
-
12-Inheritance - Traditional Class Inheritance in Odoo 14
-
13-Inheritance - Traditional Prototype Inheritance in Odoo 14
-
14-Inheritance - Delegation Inheritance in Odoo 14
-
15-Computed fields and @api.depends in Odoo 14
-
16-Setting Default Value for Fields in Odoo 14
-
17-Onchange mechanism - @api.onchange in Odoo 14
-
18-Model Constraints - Python Constraints in Odoo 14
-
19-Model Constraints - SQL Constraints in Odoo 14
-
20-Advanced Views - Tree View Decoration Attribute in Odoo 14
-
21-Advanced Views - Calendar View in Odoo 14
-
22-Advanced Views - Search View in Odoo 14
-
23-Advanced Views - Graph View in Odoo 14
-
24-Advanced Views - Gantt View in Odoo 14
-
25-Advanced Views - Kanban View in Odoo 14
-
26-Odoo Security - Groups and Access Rights
-
27-Odoo Security - Record Rules
-
28-Odoo wizards - Creating and Launching
-
29-Odoo Reporting - Printed Report(PDF).mp4
-
30-Odoo Reporting - Setup a Dashboard
-
29-Odoo Reporting - Printed Report(PDF).mp4
This video explains how we can create a printed PDF Report in Odoo 14. A report engine of Odoo is a combination of Qweb, bootstrap, Wkhtmltopdf. Odoo uses Qweb as a templating engine which is used for converting XML to HTML. Moreover, Qweb properties are set as XML attributes which start with ‘t-‘ (example: t-if for checking conditions in an XML file). Furthermore, we use Qweb for defining the report templates that are written in HTML format, the same as creating a web page. Wkhtmltopdf is used to render PDFs from the Qweb templates. Additionally, the templates are defined in HTML format as we discussed in the above section therefore, wkhtmltopdf will render the PDF report from the Qweb. How do Qweb Reports work in Odoo? The reports are working with Report Actions and Report Templates. Additionally, the report templates are used in report actions. Moreover, a report action is triggered while printing a report that you can either call this report action from the Print menu or from a python function. In addition, you can set up a custom page format as per the need in Odoo that will be specified in the report action. Report Actions (ir.actions.report) Odoo has several types of actions to perform different kinds of operations or processes such as the reports are generated when the report action is triggered. Furthermore, the report action will be recognized by model ‘ir.actions.report’ used in the record.
Vues | |
---|---|
0 | Total des vues |
0 | Vues Membres |
0 | Vues publiques |
Partager par email
Veuillez S'identifier afin de partager ce video par email