summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-03-05 16:26:20 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-03-05 16:26:20 +0700
commitc92baf9e02598c7556d85c010900c13b5eb81f61 (patch)
tree3aa36b54bfdd73dbc6435ca2f9de2a3ec3e1e564
parent3b74c7064eaad188e92333cafcf73cc1e500f58b (diff)
add tracking for shipping method
-rwxr-xr-xindoteknik_custom/models/sale_order.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py
index f44f624e..759329b0 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -15,7 +15,7 @@ class SaleOrder(models.Model):
('pengajuan2', 'Approval Pimpinan'),
('approved', 'Approved'),
], string='Approval Status', readonly=True, copy=False, index=True, tracking=3)
- carrier_id = fields.Many2one('delivery.carrier', string='Shipping Method')
+ carrier_id = fields.Many2one('delivery.carrier', string='Shipping Method', tracking=3)
have_visit_service = fields.Boolean(string='Have Visit Service', compute='_have_visit_service', help='To compute is customer get visit service')
delivery_amt = fields.Float('Delivery Amt')
shipping_cost_covered = fields.Selection([