diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2026-02-23 09:56:11 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2026-02-23 09:56:11 +0700 |
| commit | a74cf187f1e25edc18b7718c53af9f74554cfed8 (patch) | |
| tree | b5ec5cd2fd68a7dea6f0026ea869063f670f53f4 /fixco_custom/models/account_move.py | |
| parent | 8bba994b80718a078ec24ade3b1cdf03eac8c0ff (diff) | |
| parent | 233662316ed9b108271f5f4aacb1fcc0b05be63a (diff) | |
Merge branch 'main' of bitbucket.org:altafixco/fixco-addons
pull
Diffstat (limited to 'fixco_custom/models/account_move.py')
| -rw-r--r-- | fixco_custom/models/account_move.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fixco_custom/models/account_move.py b/fixco_custom/models/account_move.py index c1098d0..b1f540e 100644 --- a/fixco_custom/models/account_move.py +++ b/fixco_custom/models/account_move.py @@ -305,6 +305,8 @@ class AccountMove(models.Model): entry.soo_number = ', '.join(soo_list) if entry.move_type == 'out_invoice': + search_inv = entry.search([('move_type', '=', 'out_invoice'), ('id', '=', entry.id), ('invoice_marketplace', '=', entry.sale_id.invoice_mp)], limit=1).invoice_marketplace + entry.invoice_marketplace = search_inv if entry.picking_id: entry.invoice_date = entry.picking_id.date_done |
