v 15.0 Third Party 1
Download for v 15.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 756
Technical Name report_generator
LicenseLGPL-3
Websitehttp://www.bootando.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 756
Technical Name report_generator
LicenseLGPL-3
Websitehttp://www.bootando.com

Description

This module allows to generate PDF reports based on your models without using QWeb or wkhtmltopdf.

Usage

Once you finished your installation, you must create your first template.
Access Settings -> Technical Features -> Actions -> Report Generator
Set up your template by providing a name, a code reference (for eg. report.template.partner.contract)
Provide a starting PDF template and choose your reference model where Report Generator will fetch data dynamically.

Example 1


Labels

Set up your customizations providing X, Y coordinates for each label and finish styling them changing colours, font families and font sizes.
code field will be the processed value being printed in your report at your coordinates.
It is a Python field, you can use strings, functions or a record instance using record.

Example 2


Server Actions

Report Generator creates server actions for you to guarantee a completely no-code experience.
This does not means you won't be able to use your reports in your custom modules.
Don't forget to press Create Contextual Action to make it visible in your model actions.

Example 3


Customizable Fonts

This module automatically imports system and pip ttf fonts.
You can also import your custom .TTF files in Settings -> Technical Features -> Actions -> Report Font

Example 4


Integration

If you wish to integrate Report Generator in your custom modules, you can use generate_report method.
All you need is your report identifier referience, for eg. report.template.partner.contract. self.env['reportgenerator.report'].get_report('report.template.partner.contract').generate_report(record.id)

A base64 encoded string pdf will be returned.

Final Output

Example 5

You're done!

If you encounter any problem with this module please contact us on the following email address: alessandro@gessa.net.


Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
if you agree, please send your demo video to my email: Agus.Sussanto@akselerasiteknologi.id
by
Agus Sussanto
on 10/12/23, 10:28 PM



can i have video demo for this module, i want to see flow and output for this module. If the result is good and match for my sistem , i will buy that.
by
Agus Sussanto
on 10/12/23, 10:27 PM