summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-11-18 11:34:19 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-11-18 11:34:19 +0700
commit61a1d7e817de31b52285b6bf6448c321f1beac08 (patch)
tree4394635466e390a1c17bd4c37f11faaa68ed18d1 /indoteknik_custom/models
parent0e026757427842dc865a5cbf17f2e3d85a30875c (diff)
<Miqdad> tracking & readonly sales team
Diffstat (limited to 'indoteknik_custom/models')
-rwxr-xr-xindoteknik_custom/models/sale_order.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py
index 14b66d87..2ed4046f 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -398,7 +398,10 @@ class SaleOrder(models.Model):
compute="_compute_partner_is_cbd_locked"
)
internal_notes_contact = fields.Text(related='partner_id.comment', string="Internal Notes", readonly=True, help="Internal Notes dari contact utama customer.")
- is_so_fiktif = fields.Boolean('SO Fiktif?', tracking=3)
+ is_so_fiktif = fields.Boolean('SO Fiktif?', tracking=3)
+ team_id = fields.Many2one(tracking=True)
+
+
def action_set_shipping_id(self):
for rec in self: