Hello,
I’ve wondering if it’s possible to download a report using flask_tryton, In case not, I’m guessing I should start reading about how to use the JSON-RPC or XML-RPC.
A good start point should be see sao source code? or where should I start? Thanks in advance.
Just to complement:
your.report.name: I found it on client under Administration - User interface - Actions - Informs - (desired report) and it’s the internal name.
the records parameter it’s coming from pool , so if I want to download a party report I had to:
Party = tryton.pool.get(‘party.party’)
records = Party.search([(‘id’,’=’,‘45’)]) in case I need only 45 party id report.