summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/crm_lead.py
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-03-24 15:51:53 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-03-24 15:51:53 +0700
commitd7838ad087daf51826d3be27888df04eac09a293 (patch)
tree629154312c99d14f08d61f541165a2396f175561 /indoteknik_custom/models/crm_lead.py
parent056a719bbb24a931b119515f0483b96ad2f4d415 (diff)
parent3aa64db9c10d0fcb8009e9e6f942672a12669099 (diff)
fix conflict
Diffstat (limited to 'indoteknik_custom/models/crm_lead.py')
-rwxr-xr-xindoteknik_custom/models/crm_lead.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/crm_lead.py b/indoteknik_custom/models/crm_lead.py
index 47325b01..be4bbf5d 100755
--- a/indoteknik_custom/models/crm_lead.py
+++ b/indoteknik_custom/models/crm_lead.py
@@ -16,6 +16,7 @@ class CrmLead(models.Model):
ticket_id = fields.Char('Ticket ID', help='Ticket ID yang ada di WATI')
operator_email = fields.Char('Operator Email', help='Operator yang membalas')
operator_name = fields.Char('Operator Name', help='Operator yang membalas')
+ order_id = fields.Many2one('sale.order', string='Sales Order', help='Link ke sales order id')
def revert_to_leads(self):
opportunities = self.env['crm.lead'].search([