diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-12-01 06:37:54 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-12-01 06:37:54 +0000 |
| commit | fcd64cd1e041c161a74ebe8f853c3e80000e6480 (patch) | |
| tree | b7e7649782ee7349e66bbfdd51d5330534773d32 | |
| parent | 4f751f8f0e15b521230bcbbd6556daae15035a6e (diff) | |
| parent | 173ea861bec5f5118efa714a12facf31f0147639 (diff) | |
Merged in refund_system (pull request #472)
<hafid> overlap journal
| -rw-r--r-- | indoteknik_custom/models/refund_sale_order.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/refund_sale_order.py b/indoteknik_custom/models/refund_sale_order.py index 5338c9c0..fe0002bd 100644 --- a/indoteknik_custom/models/refund_sale_order.py +++ b/indoteknik_custom/models/refund_sale_order.py @@ -292,6 +292,7 @@ class RefundSaleOrder(models.Model): ('sale_id', 'in', so_ids), ('journal_id', '=', 11), ('state', '=', 'posted'), + ('ref', 'not ilike', 'dp'), ]) piutangbca = self.env['account.move'].search([ ('ref', 'in', invoices.mapped('name')), @@ -648,6 +649,7 @@ class RefundSaleOrder(models.Model): ('sale_id', 'in', so_ids), ('journal_id', '=', 11), ('state', '=', 'posted'), + ('ref', 'not ilike', 'dp'), ]) piutangbca = self.env['account.move'].search([ ('ref', 'in', all_invoices.mapped('name')), |
