تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3269 أدوات العرض

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.

الصورة الرمزية
إهمال
الكاتب

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.

الكاتب

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

أفضل إجابة

Hi Kishore,

Can you check this,

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

Thank you.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 25
1418
0
فبراير 23
1591
0
مارس 24
1389
2
فبراير 24
5389
0
سبتمبر 23
1613