summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-07-18 10:51:31 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-07-18 10:51:31 +0700
commit93146912c0f157edb4d4f08b4b17871277bb9677 (patch)
tree6ce3976390566098b6a6b66bd330c29cdd24b586 /indoteknik_custom/models
parentaa57ac0744ef0fee2a44f3130e1ddbb1934a5621 (diff)
Add cron xml airway bill and update model, api
Diffstat (limited to 'indoteknik_custom/models')
-rw-r--r--indoteknik_custom/models/airway_bill.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/airway_bill.py b/indoteknik_custom/models/airway_bill.py
index d92b7e5e..7379049f 100644
--- a/indoteknik_custom/models/airway_bill.py
+++ b/indoteknik_custom/models/airway_bill.py
@@ -41,7 +41,7 @@ class AirwayBill(models.Model):
self.ensure_one()
return self._json_decode(self.response)
- def _update_data_way_bill(self):
+ def _generate(self):
# jne, pos, tiki, wahana, jnt, rpx, sap, sicepat, jet, dse, dan first
# 51, 53, 54, 7, 57, 55, 59, 59, 27, 60, 62, 64
current_time = datetime.now()