mirror of
https://github.com/bringout/oca-ocb-technical.git
synced 2026-04-20 10:52:01 +02:00
Initial commit: Technical packages
This commit is contained in:
commit
3473fa71a0
873 changed files with 297766 additions and 0 deletions
4
odoo-bringout-oca-ocb-iap_crm/iap_crm/models/__init__.py
Normal file
4
odoo-bringout-oca-ocb-iap_crm/iap_crm/models/__init__.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from . import crm_lead
|
||||
13
odoo-bringout-oca-ocb-iap_crm/iap_crm/models/crm_lead.py
Normal file
13
odoo-bringout-oca-ocb-iap_crm/iap_crm/models/crm_lead.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class Lead(models.Model):
|
||||
_inherit = 'crm.lead'
|
||||
|
||||
reveal_id = fields.Char(string='Reveal ID') # Technical ID of reveal request done by IAP
|
||||
|
||||
def _merge_get_fields(self):
|
||||
return super(Lead, self)._merge_get_fields() + ['reveal_id']
|
||||
Loading…
Add table
Add a link
Reference in a new issue