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.
Dette spørgsmål er blevet anmeldt
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.
Kan du lide at diskutere? Læs ikke bare med, deltag aktivt i debatten!
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig