summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/models/dunning_run.py1
-rw-r--r--indoteknik_custom/models/ged.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/models/dunning_run.py b/indoteknik_custom/models/dunning_run.py
index 8f17fea6..4e04c03c 100644
--- a/indoteknik_custom/models/dunning_run.py
+++ b/indoteknik_custom/models/dunning_run.py
@@ -26,7 +26,6 @@ class DunningRun(models.Model):
shipper_faktur_id = fields.Many2one('delivery.carrier', string='Shipper Faktur')
is_validated = fields.Boolean(string='Validated')
notification = fields.Char(string='Notification')
- last_status_awb = fields.Char(string='Last Status AWB')
def copy_date_faktur(self):
if not self.is_validated:
diff --git a/indoteknik_custom/models/ged.py b/indoteknik_custom/models/ged.py
index b63caf86..10409130 100644
--- a/indoteknik_custom/models/ged.py
+++ b/indoteknik_custom/models/ged.py
@@ -233,6 +233,8 @@ class GedApi(models.Model):
class DunningRunGed(models.Model):
_inherit = 'dunning.run'
+ last_status_awb = fields.Char(string='Last Status AWB')
+
def _get_tracking_history(self, test_awb_number):
if test_awb_number:
query = [