Purpose ======= Avoid creating / enriching multiple time the same company. It can occur in many situation; when IAP do not return an email address the the company, when the domain is blacklisted... We also want to remove the field "iap_enrich_info" from the res.partner model because this field can be heavy (JSON field) and the res.partner model is used a lot. Technical ========= For this purpose, we create a new model <res.partner.iap> which will store the IAP response and the requested domain. So we can retrieve the previously enriched company regardless of the partner's values Task 2466653 See odoo/odoo/pull/68286 See odoo/upgrade/pull/2301 closes odoo/odoo#68286 Related: odoo/upgrade#2301 Related: odoo/enterprise#17426 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
25 lines
707 B
Python
25 lines
707 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
{
|
|
'name': 'Mail Plugin',
|
|
'version': '1.0',
|
|
'category': 'Sales/CRM',
|
|
'sequence': 5,
|
|
'summary': 'Allows integration with mail plugins.',
|
|
'description': "Integrate Odoo with your mailbox, get information about contacts directly inside your mailbox, log content of emails as internal notes",
|
|
'depends': [
|
|
'web',
|
|
'contacts',
|
|
'iap'
|
|
],
|
|
'data': [
|
|
'views/mail_plugin_login.xml',
|
|
'views/res_partner_iap_views.xml',
|
|
'security/ir.model.access.csv',
|
|
],
|
|
'installable': True,
|
|
'application': False,
|
|
'auto_install': False
|
|
}
|