diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-11-19 06:18:34 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-11-19 06:18:34 +0000 |
| commit | 5235e97803db42387734696d7f52cd5cf0963132 (patch) | |
| tree | a33fbd1f8d951d7e8bcafcccbca9ec8f33b0306a | |
| parent | e22ed5070117edbd7757ce409cb779da7fdc5c12 (diff) | |
| parent | 27aa909290c87086493d060caa98ba396c257ab7 (diff) | |
Merged in refund_system (pull request #466)
reklas nyangkut
| -rw-r--r-- | indoteknik_custom/models/refund_sale_order.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indoteknik_custom/models/refund_sale_order.py b/indoteknik_custom/models/refund_sale_order.py index c6db2174..cbc0b717 100644 --- a/indoteknik_custom/models/refund_sale_order.py +++ b/indoteknik_custom/models/refund_sale_order.py @@ -332,7 +332,8 @@ class RefundSaleOrder(models.Model): domain = [ ('journal_id', '=', 11), ('state', '=', 'posted'), - ('ref', 'ilike', 'uang muka penjualan') + ('ref', 'ilike', 'uang muka penjualan'), + ('ref', 'not ilike', 'reklas'), ] if so_names: domain += ['|'] * (len(so_names) - 1) @@ -696,7 +697,8 @@ class RefundSaleOrder(models.Model): domain = [ ('journal_id', '=', 11), ('state', '=', 'posted'), - ('ref', 'ilike', 'uang muka penjualan') + ('ref', 'ilike', 'uang muka penjualan'), + ('ref', 'not ilike', 'reklas'), ] domain += ['|'] * (len(so_names) - 1) for n in so_names: |
