diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-07-25 09:22:20 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-07-25 09:22:20 +0700 |
| commit | 414b741f6fdd3ba37754db516c695231e3fbca6e (patch) | |
| tree | 8fb4e9447b079f3b1d65184a0646141ad2469866 /indoteknik_custom/models/sale_order.py | |
| parent | 19ac8961c8163322f759f9eb021df368a8950010 (diff) | |
<hafid> hold refund
Diffstat (limited to 'indoteknik_custom/models/sale_order.py')
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index febdaabd..c4de0d3a 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -3144,7 +3144,7 @@ class SaleOrder(models.Model): invoice_ids = self.mapped('invoice_ids').filtered(lambda inv: inv.state != 'cancel') delivery_total = sum(self.mapped('delivery_amt')) - total_invoice = sum(invoice_ids.mapped('amount_total')) + total_invoice = sum(invoice_ids.mapped('amount_total_signed')) return { 'type': 'ir.actions.act_window', |
