Metadata-Version: 2.1
Name: odoo-reporting-helper
Version: 0.0.2
Summary: Odoo Reporting Helper
Home-page: https://github.com/royaurelien/odoo-reporting-helper
Author: Aurelien ROY
Author-email: roy.aurelien@gmail.com
License: BSD 2-clause
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: click
Requires-Dist: lxml
Requires-Dist: pdfkit
Requires-Dist: requests


# Odoo Reporting Helper

_**ORH** Command Line Tool_

![PyPI](https://img.shields.io/pypi/v/odoo-reporting-helper) ![PyPI](https://img.shields.io/pypi/pyversions/odoo-reporting-helper)

## 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:
```bash
pip install odoo-reporting-helper
```

## Quickstart


### Clean and prepare HTML
```bash
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)
```bash
orh merge <source> <destination>

```

### Generate PDF
* PDF Report :
```bash
orh convert <source> <destination> --format A3 --landscape --ignore-header --ignore-footer
```
