diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-12-22 13:36:43 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-12-22 13:36:43 +0700 |
| commit | 74bc0544d9789479f599e808930e01ecea7fbf22 (patch) | |
| tree | ef11ccc1620ab31ee1b560c8b16f0552041a7742 /fixco_custom/models/sale_order_multi_invoices.py | |
| parent | b03b5e7d3ab83db6f26610490fc2a4e7dc4d3d9c (diff) | |
push
Diffstat (limited to 'fixco_custom/models/sale_order_multi_invoices.py')
| -rw-r--r-- | fixco_custom/models/sale_order_multi_invoices.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
