OdooJsonRpcClient
OdooJsonRpcClient copied to clipboard
How to post invoice from draft status
I managed to create partners, customer and supplier invoices against Odoo V16. Thanks to this API.
Next step is now to change created invoices status from "draft" status in which they are created by API to "posted" status.
With Odoo Python API it would be done with this line :
execute_kw(db, uid, password, 'account.invoice', 'action_invoice_open', [['id','=' 1]])
where id is the account.move invoice repository id
How can I submit this command from this OdooJsonRpcClient Visual Studio API ?
Thanks for suggestions