summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2024-06-07 09:56:26 +0700
committerstephanchrst <stephanchrst@gmail.com>2024-06-07 09:56:26 +0700
commit7f0941a7c6fd75bd4aa79090da8fe70ba8575242 (patch)
tree54cf3725679bcc6d0c9a62a1eb44b96e3cdc44f7
parent952f278d199df3b9d3c514ce912ededb403dae7f (diff)
fix error created at while parsing ged api
-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 ef7b422a..d438a065 100644
--- a/indoteknik_custom/models/ged.py
+++ b/indoteknik_custom/models/ged.py
@@ -257,7 +257,7 @@ class GedApi(models.Model):
status = line['status']
if status == 'Received At Warehouse' and not dunning_run.date_kirim_tukar_faktur:
- dunning_run.date_kirim_tukar_faktur = line.created_at
+ dunning_run.date_kirim_tukar_faktur = created_at
dunning_run.copy_date_faktur()
param_line = {