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.
Câu hỏi này đã bị gắn cờ
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.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký