Hi,
I'm trying to create an invoice from a sale order. When using the interface, I can click on 'Create Invoice', this will open a pop-up, giving me few options and allowing to confirm by clickin on 'Create Invoice' again.Trough this process my invoice is generated from a sale order.
I'd like to do it in node.js, so I know I have to call 2 actions:
- invoice_order, which create an invoice from sale order
- create invoices, which validate the pop-up
My problem is, I don't know how and I can't find any example on how to call those methods.
The node package I'm using: https://www.npmjs.com/package/odoo?activeTab=readmeThe only 'example' I could find is the rpc_call, but I keep having errors such as
|
Any lead on how I can directly call methods from odoo ?
Thanks,