mirror of
https://github.com/bringout/oca-ocb-technical.git
synced 2026-04-23 13:12:00 +02:00
19.0 vanilla
This commit is contained in:
parent
5faf7397c5
commit
2696f14ed7
721 changed files with 220375 additions and 91221 deletions
|
|
@ -4,10 +4,10 @@
|
|||
from odoo import fields, models
|
||||
|
||||
|
||||
class Lead(models.Model):
|
||||
class CrmLead(models.Model):
|
||||
_inherit = 'crm.lead'
|
||||
|
||||
reveal_id = fields.Char(string='Reveal ID') # Technical ID of reveal request done by IAP
|
||||
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(Lead, self)._merge_get_fields() + ['reveal_id']
|
||||
return super()._merge_get_fields() + ['reveal_id']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue