My Problem
My Problem is after creating invoice in odoo accounting, both invoice created mannully or invoice created from any third party i.e. my dotnet application, for viewing the invoice in PDF format we need access token, so when I preview my invoice at that time only I can get the access token.
In odoo Accounting platform, from our dotnet application I am creating invoices, send to odoo platform, after I logined to my odoo instance and I can view my invoice send from my dotnet application, once I have previewed my invoice PDF at that time I am able to get the access token, what are the ways to the access token to the view invoice in PDF format from my dotnet application, there are two important parameter need to view the invoice in PDF format.
- Access Token.
- Id of the Account move modal (Journal Entry).
To view the invoice PDF every time I need to login to my odoo instance and for creating invoice via dotnet need to be previewed once after I can view the invoice PDF in my dotnet application.
So can any one help to get the access token after once I have created an invoice via dotnet application.
For creating and sending invoice to odoo from my dotnet application I am using this package from nugget package called portacapena.odoojsonrpcclient.1.0.20