summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/ged.py
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2024-05-21 12:06:46 +0700
committerstephanchrst <stephanchrst@gmail.com>2024-05-21 12:06:46 +0700
commitb6a0434a4ff9fe580469cf79c30816697e36e48e (patch)
tree65a98fec764f9d9eeae9582d0a89abe32fca5441 /indoteknik_custom/models/ged.py
parentb4448913dc446840c21d2403a58cd7edcc13be4a (diff)
add standalone button for get tracking awb in dunning run
Diffstat (limited to 'indoteknik_custom/models/ged.py')
-rw-r--r--indoteknik_custom/models/ged.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/indoteknik_custom/models/ged.py b/indoteknik_custom/models/ged.py
index 2de88a8d..e1881c45 100644
--- a/indoteknik_custom/models/ged.py
+++ b/indoteknik_custom/models/ged.py
@@ -280,3 +280,6 @@ class DunningRunGed(models.Model):
dunning.date_terima_tukar_faktur = ged_tracking.delivered_date
dunning.copy_date_faktur()
return
+
+ def get_tracking_history_by_awb(self):
+ self._get_tracking_history(self.resi_tukar_faktur) \ No newline at end of file