summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/models/dunning_run.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/models/dunning_run.py b/indoteknik_custom/models/dunning_run.py
index 56a33578..ed5d7bb5 100644
--- a/indoteknik_custom/models/dunning_run.py
+++ b/indoteknik_custom/models/dunning_run.py
@@ -60,7 +60,8 @@ class DunningRun(models.Model):
('move_type', '=', 'out_invoice'),
('state', '=', 'posted'),
('partner_id', '=', partner.id),
- ('amount_residual_signed', '>', 0),
+ # ('amount_residual_signed', '>', 0),
+ ('date_kirim_tukar_faktur', '=', False),
]
invoices = self.env['account.move'].search(query, order='invoice_date')
count = 0