Obtener un reporte de jasper desde erpeek
The snippet can be accessed without any authentication.
Authored by
Santiago Said
Siendo cli un cliente de erppeek
`python
# Generarlo
id_rep = cli.report(
"receipt_current_account", # Nombre del reporte
[24], # Id del registro que queremos imprimir
{'report_type': u'pdf'}, # Se puede enviar el dic vacio
{"active_id": 24, "active_ids": [24], "active_model": "pos.order"})
# Obtenerlo
cli.report_get(id_rep)
`
Please register or sign in to comment