Skip to content
Snippets Groups Projects

Obtener un reporte de jasper desde erpeek

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Santiago Said
    jasper_erpeek.py 333 B
    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)
    `
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment