Skip to content

royaurelien/odoo-reporting-helper

Repository files navigation

Odoo Reporting Helper

ORH Command Line Tool

PyPI PyPI

Requirements

Wkhtmltopdf download page: https://wkhtmltopdf.org/downloads.html

Installation script : https://raw.githubusercontent.com/JazzCore/python-pdfkit/master/ci/before-script.sh

See options : https://wkhtmltopdf.org/usage/wkhtmltopdf.txt

Installation

Install from PyPI:

pip install odoo-reporting-helper

Quickstart

Clean and prepare HTML

orh clean <source> <destination>

Options:

  -s, --include-stylesheets  Compile and include external stylesheets in HTML
                             report.
  -j, --include-javascripts  Keep JS scripts.
  -c, --cookies TEXT         Cookies
  -l, --limit-memory         Set memory limit.

Merge stylesheets (optional)

orh merge <source> <destination>

Generate PDF

  • PDF Report :
orh convert <source> <destination> --format A3 --landscape --ignore-header --ignore-footer

About

Odoo Reporting Helper

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages