summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2024-05-21 13:31:12 +0700
committerstephanchrst <stephanchrst@gmail.com>2024-05-21 13:31:12 +0700
commitdc90b4a31e887a69b6e53dfd096313224c94c644 (patch)
tree5dfd3191fb8bab32eb633e4b1162f2782ec10fb4
parenta40f08df72d7b1b034ba4e69bc4a80d5b3e2b87c (diff)
increase limit
-rw-r--r--indoteknik_custom/models/ged.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/ged.py b/indoteknik_custom/models/ged.py
index 8dc53b63..c6e346c0 100644
--- a/indoteknik_custom/models/ged.py
+++ b/indoteknik_custom/models/ged.py
@@ -265,7 +265,7 @@ class DunningRunGed(models.Model):
('shipper_faktur_id', '=', 123),
('date_terima_tukar_faktur', '=', False)
]
- dunnings = self.env['dunning.run'].search(query, limit=20)
+ dunnings = self.env['dunning.run'].search(query, limit=50)
for dunning in dunnings:
current_tracking = self.env['ged.tracking'].search([('awb_no', '=', dunning.resi_tukar_faktur)], limit=1)