oca-ocb-technical/odoo-bringout-oca-ocb-iap_crm/iap_crm/models/crm_lead.py
Ernad Husremovic 2696f14ed7 19.0 vanilla
2026-03-09 09:32:34 +01:00

13 lines
400 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class CrmLead(models.Model):
_inherit = 'crm.lead'
reveal_id = fields.Char(string='Reveal ID', index='btree_not_null') # Technical ID of reveal request done by IAP
def _merge_get_fields(self):
return super()._merge_get_fields() + ['reveal_id']