I'm trying to automate the creation of an invoice from a sales order. Can someone point me in the right direction? I cant access the action_invoice_create method nor the action_create_invoice from the sale.order record.
Această întrebare a fost marcată
Hi,
From sale order there is no method to create invoices. Odoo used window actions to create invoice from sale order wizard. If you wish to create invoice from python code, then please check create_invoices method in SaleAdvancePaymentInv Class in sale module.
Hope it helps to you.
Note : There are few modules are available for this workflow. Please check the free module.
https://apps.odoo.com/apps/modules/14.0/sale_order_automation/
thank you very much. i'll look into this!
can i run this window actions/ sale order wizard with python code? I am using odoo online and trying to automated the invoice billing in the month end.
Yes, it is possible. Since you are using Odoo online, It needs to do update by scheduled actions.
Îți place discuția? Nu doar citi, alătură-te!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te