diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2026-01-07 17:12:10 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2026-01-07 17:12:10 +0700 |
| commit | ecbdec9343e56effbacb56d0060f7a6e9912f047 (patch) | |
| tree | aa80d251ee328c6e7baacbc2f9810deaa82e3d8b /fixco_custom/models/sale.py | |
| parent | e0f5ab6506c6314d93b378e8c5f0d5cd5a4f423c (diff) | |
push upload bills queue job
Diffstat (limited to 'fixco_custom/models/sale.py')
| -rwxr-xr-x | fixco_custom/models/sale.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fixco_custom/models/sale.py b/fixco_custom/models/sale.py index 8b04538..cd5f68f 100755 --- a/fixco_custom/models/sale.py +++ b/fixco_custom/models/sale.py @@ -25,6 +25,7 @@ class SaleOrder(models.Model): # Create invoice for this SO only invoice = order.with_context(default_invoice_origin=order.name)._create_invoices(final=True) invoice.action_post() + invoice.invoice_date = invoice.picking_id.date_done created_invoices += invoice # Link the invoice to the SO |
