From 74bc0544d9789479f599e808930e01ecea7fbf22 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Mon, 22 Dec 2025 13:36:43 +0700 Subject: push --- fixco_custom/models/sale_order_multi_invoices.py | 1 + 1 file changed, 1 insertion(+) (limited to 'fixco_custom/models/sale_order_multi_invoices.py') diff --git a/fixco_custom/models/sale_order_multi_invoices.py b/fixco_custom/models/sale_order_multi_invoices.py index 2638ddc..5c42dc6 100644 --- a/fixco_custom/models/sale_order_multi_invoices.py +++ b/fixco_custom/models/sale_order_multi_invoices.py @@ -19,6 +19,7 @@ class SaleOrderMultiInvoices(models.TransientModel): for order in sale_orders: # Create invoice for this SO only invoice = order.with_context(default_invoice_origin=order.name)._create_invoices(final=True) + invoice.action_post() created_invoices += invoice # Link the invoice to the SO -- cgit v1.2.3