diff options
| author | HafidBuroiroh <hafidburoiroh09@gmail.com> | 2026-01-26 09:36:09 +0700 |
|---|---|---|
| committer | HafidBuroiroh <hafidburoiroh09@gmail.com> | 2026-01-26 09:36:09 +0700 |
| commit | c63ed469e0431f054668cf4e44318ce3c8953a83 (patch) | |
| tree | bc4bb8243966988d71388d23629481d8f1d25f35 | |
| parent | 9e64a74e4576a150d172359999c9eb3cef8505a8 (diff) | |
<hafid> error block code
| -rw-r--r-- | indoteknik_custom/models/refund_sale_order.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indoteknik_custom/models/refund_sale_order.py b/indoteknik_custom/models/refund_sale_order.py index 1c482619..7615711b 100644 --- a/indoteknik_custom/models/refund_sale_order.py +++ b/indoteknik_custom/models/refund_sale_order.py @@ -675,10 +675,10 @@ class RefundSaleOrder(models.Model): ('line_ids.account_id', '=', 668), ] - if so_names: - domain += ['|'] * (len(so_names) - 1) - for name in so_names: - domain.append(('ref', 'ilike', name)) + 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) |
