diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2026-01-26 02:37:06 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2026-01-26 02:37:06 +0000 |
| commit | c9d09f6875dbb61656beb948a60316c6e5da77dc (patch) | |
| tree | a9c22b5be615c42fc76f92223ceae1eebdc1b394 | |
| parent | e52ef1be01707cb049dae84d061e49b316d6c17c (diff) | |
| parent | c63ed469e0431f054668cf4e44318ce3c8953a83 (diff) | |
Merged in refund_system (pull request #481)
<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) |
