diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2026-01-08 09:52:38 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2026-01-08 09:52:38 +0700 |
| commit | 9990c0c6e30260f1c9ae2111893495ce7bd1c03c (patch) | |
| tree | 81847c26ea054636d6178884ba3dd812e477d494 /fixco_custom/models/sale.py | |
| parent | 71736a301eca62a55c34c96b3a9d0c06ee28f3d9 (diff) | |
| parent | 23b2c540774c064a69c77ed3de29d9f99ffae904 (diff) | |
Merge branch 'main' of https://bitbucket.org/altafixco/fixco-addons into print_picking_list
merge
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 |
