summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-05-12 13:48:15 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-05-12 13:48:15 +0700
commit6abcea0d18aa1b3e52a3f9aea75e8e224e011267 (patch)
tree9724f00b49dac5e6e50fa3b02f1c961a151949f6 /indoteknik_custom/models
parentd41b62d9ff0b9c5a3f6d4415e2ca64f68427ee19 (diff)
add delivery service type for support rajaongkir
Diffstat (limited to 'indoteknik_custom/models')
-rwxr-xr-xindoteknik_custom/models/sale_order.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py
index 4768f31c..69e96968 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -72,6 +72,7 @@ class SaleOrder(models.Model):
payment_type = fields.Char(string='Payment Type', help='Jenis pembayaran dengan Midtrans')
gross_amount = fields.Float(string='Gross Amount', help='Jumlah pembayaran yang dilakukan dengan Midtrans')
notification = fields.Char(string='Notification', help='Dapat membantu error dari approval')
+ delivery_service_type = fields.Char(string='Delivery Service Type', help='data dari rajaongkir')
@api.model
def _generate_so_access_token(self, limit=50):