summaryrefslogtreecommitdiff
path: root/addons/website_crm
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2013-10-02 11:23:09 +0200
committerThibault Delavallée <tde@openerp.com>2013-10-02 11:23:09 +0200
commit81b0266ac300de9fb6cdce2888c2b0166bb2e967 (patch)
tree773bac5616f73bdb8a7d7489f9fdc456472195b7 /addons/website_crm
parent86159fe4b054b475c2db8007986e0881cc1ad5d2 (diff)
[REF] website_google_map, website_crm, website_crm_partner_assign, website_membership: extracted res.partner model stuff into dedicated module and moved model-related stuff inside a models directory.
Website related fields on res.partner are now located inside their own module, in website_partner. This module is a dependency for other modules that previously (re)defined various website fields. Next step is to refactor a bit those modules, but one thing at a time. All glory to the hypnotoad. bzr revid: tde@openerp.com-20131002092309-jlov4j1v6s9r6jyk
Diffstat (limited to 'addons/website_crm')
-rw-r--r--addons/website_crm/__init__.py1
-rw-r--r--addons/website_crm/__openerp__.py2
-rw-r--r--addons/website_crm/website_crm.py9
3 files changed, 1 insertions, 11 deletions
diff --git a/addons/website_crm/__init__.py b/addons/website_crm/__init__.py
index 9b7fc18e45e..ee5959455ad 100644
--- a/addons/website_crm/__init__.py
+++ b/addons/website_crm/__init__.py
@@ -1,2 +1 @@
import controllers
-import website_crm \ No newline at end of file
diff --git a/addons/website_crm/__openerp__.py b/addons/website_crm/__openerp__.py
index daa47206313..71f210d69dd 100644
--- a/addons/website_crm/__openerp__.py
+++ b/addons/website_crm/__openerp__.py
@@ -9,7 +9,7 @@ OpenERP Contact Form
""",
'author': 'OpenERP SA',
- 'depends': ['website', 'crm'],
+ 'depends': ['website_partner', 'crm'],
'data': [
'website_crm_data.xml',
'views/website_crm.xml',
diff --git a/addons/website_crm/website_crm.py b/addons/website_crm/website_crm.py
deleted file mode 100644
index 82d5390ec71..00000000000
--- a/addons/website_crm/website_crm.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# -*- coding: utf-8 -*-
-
-from openerp.osv import osv, fields
-
-class res_partner(osv.osv):
- _inherit = 'res.partner'
- _columns = {
- 'website_published': fields.boolean('Available in the website'),
- }