diff options
| author | Jérome Maes <jem@openerp.com> | 2016-05-30 14:28:23 +0200 |
|---|---|---|
| committer | Jérome Maes <jem@openerp.com> | 2016-07-12 11:43:47 +0200 |
| commit | 53b65a51d2fd5b61081053aa6ed21b85eee642ee (patch) | |
| tree | 39c8028d16165374b2fd251c6fca6781d9b793cf /addons/website_crm/models | |
| parent | 68b5cf0721bece78931ae9e8dea760d264d1d227 (diff) | |
[MIG] website_crm : migration to new api
Diffstat (limited to 'addons/website_crm/models')
| -rw-r--r-- | addons/website_crm/models/__init__.py | 3 | ||||
| -rw-r--r-- | addons/website_crm/models/crm_lead.py | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/addons/website_crm/models/__init__.py b/addons/website_crm/models/__init__.py index 4970d37d01b..f1e958daae0 100644 --- a/addons/website_crm/models/__init__.py +++ b/addons/website_crm/models/__init__.py @@ -1 +1,4 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + import crm_lead diff --git a/addons/website_crm/models/crm_lead.py b/addons/website_crm/models/crm_lead.py index b9b29aa37ab..54cfd76f361 100644 --- a/addons/website_crm/models/crm_lead.py +++ b/addons/website_crm/models/crm_lead.py @@ -1,4 +1,8 @@ -from openerp import models, SUPERUSER_ID +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo import models + class Lead(models.Model): _inherit = 'crm.lead' |
