Skip to Content
Menu
This question has been flagged
1 Atsakyti
2330 Rodiniai

Hello,

I'm working with Python external API and want to retrieve invoices in PDF form from Odoo. Now the attachments of the invoices are not generated automatically. I want to let them be generated automatically (after the invoice model is created).

Is there a method or model I can call? I tried the 'report' method for xmlrpc but that states that the report method doesn't exist.

If the method can be called automatically within Odoo that is also good.

Portretas
Atmesti
Best Answer

This should work. I've retrieved pdf reports using it.
https://pythonhosted.org/OdooRPC/ref_report.html

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
rugs. 23
2411
2
liep. 19
4212
0
geg. 19
4261
3
bal. 19
3314
1
birž. 17
3720