-
Sans catégorie
-
1-How to Create a Website in Odoo
-
2-How to Create a Dashboard in Odoo
-
3-How to Create a Custom Module in Odoo
-
4-Forecast Widget in Tree View
-
5-Odoo 14 Printed Reports PDF
-
6-Odoo 14 Reporting Dashboard
-
7-How to Create New Models in Odoo?
-
8-Odoo Security Record Rules
-
9-Translation In Odoo 14
-
10-How to add settings for custom module in Odoo 14
-
11-Method Overriding & Super in Python Odoo
-
12-How to Create Wizard in Odoo 14
-
13-Web Controller in Odoo
-
14-Odoo Owl Framework
-
15-How to hide a new or existing field inside a One2Many fields
-
16-How to make all fields read-only in a form
-
17-How to secure your Odoo database
-
18-How to add chatter to your custom module
-
19-How to Install Odoo 15 on Ubuntu 20.04
-
20-How to Install Odoo 14 on Ubuntu 20.04
-
21-How to Install Odoo 13 on Ubuntu 18.04
-
22-How to Configure Odoo 12 on Pycharm Ubuntu 18
-
23-How to Create Smart Button in Odoo 14
-
5-Odoo 14 Printed Reports PDF
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