diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-05-21 13:17:12 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-05-21 13:17:12 +0700 |
| commit | 79eb2d852bca1d6f2a41b4649ae264fe87034e58 (patch) | |
| tree | 9f83385c11be5be7564ae39d31d5439fa5d4de1f | |
| parent | e263ef39721022fb10c07933bc2b901d571d0771 (diff) | |
fix error param
| -rw-r--r-- | indoteknik_custom/models/ged.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/ged.py b/indoteknik_custom/models/ged.py index ef3dd94f..e4fba868 100644 --- a/indoteknik_custom/models/ged.py +++ b/indoteknik_custom/models/ged.py @@ -252,7 +252,7 @@ class DunningRunGed(models.Model): last_status_awb = fields.Char(string='Last Status AWB') def _get_tracking_history(self, test_awb_number): - if test_awb_number: + if test_awb_number > 0: query = [ ('last_status_awb', '!=', 'POD Return'), ('resi_tukar_faktur', '=', test_awb_number), |
