summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <andrifebriyadiputra@gmail.com>2026-01-27 13:31:41 +0700
committerFIN-IT_AndriFP <andrifebriyadiputra@gmail.com>2026-01-27 13:31:41 +0700
commitc4880a2b65347852685faaa2e33bc8ac5ed7c119 (patch)
tree087c3b4dd1365d12eda311d5ee3ca5777071e046
parent51c5332d8c7d8bf64297d78e4a870568a0631d9c (diff)
parent963d8c9cd740727869244295269d9e7cb3cbba62 (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into odoo-backup
-rw-r--r--indoteknik_custom/models/refund_sale_order.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/indoteknik_custom/models/refund_sale_order.py b/indoteknik_custom/models/refund_sale_order.py
index 1c482619..646376ab 100644
--- a/indoteknik_custom/models/refund_sale_order.py
+++ b/indoteknik_custom/models/refund_sale_order.py
@@ -674,13 +674,11 @@ class RefundSaleOrder(models.Model):
('line_ids.account_id', '=', 450),
('line_ids.account_id', '=', 668),
]
-
- if so_names:
domain += ['|'] * (len(so_names) - 1)
for name in so_names:
domain.append(('ref', 'ilike', name))
- moves_ongkir = self.env['account.move'].search(domain)
+ moves_ongkir = self.env['account.move'].search(domain)
all_moves = moves | piutangbca | piutangmdr | misc | moves2 | moves_ongkir | cabinvoice