Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3315 Zobrazení

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
Zrušit
Autor

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.

Autor

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

Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 25
1438
0
úno 23
1662
0
bře 24
1446
2
úno 24
5440
0
zář 23
1643