Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3333 Visualizzazioni

Hello ,


I'm currently working on a project(Dotnet framework) where I need to generate invoice reports from Odoo using an external API. While I have made some progress, I've encountered a few challenges and could use some guidance from experienced members of the community.


Issue Description: I am trying to extract invoice report through the Odoo API, but I'm facing difficulties in achieving this. Here's an overview of what I've done so far:


I have successfully authenticated with the Odoo API and can access other data.

I've explored the Odoo API documentation, but I'm struggling to find specific information on generating invoice reports programmatically.

I tried some xml rpc c# library to achive that ( Kveer.XmlRPC and  OdooJsonRpcClient ), But still its stuck




I'd greatly appreciate any guidance, code snippets, or insights you can provide to help me overcome these challenges and successfully generate invoice reports.

Avatar
Abbandona
Autore

I have tried with Nikhil Nakrani solution. But the reponse is "NameError: Method not available render_report"

render_report method not available that's why can you print just report variable
then check.

Autore

do we have any option to get the report via http request ? I see something like QWeb Reports.

Risposta migliore

Hi Kishore,

Can you check this,

https://www.odoo.com/forum/help-1/get-report-with-xml-rpc-from-odoo-16-227301

Thank you.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mar 25
1445
0
feb 23
1669
0
mar 24
1456
2
feb 24
5450
0
set 23
1652