diff --git a/account_enterprise_remove/__openerp__.py b/account_enterprise_remove/__openerp__.py
deleted file mode 100644
index 0985458a3..000000000
--- a/account_enterprise_remove/__openerp__.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright 2016 LasLabs Inc.
-# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-
-{
- 'name': 'Account - Remove Enterprise Features',
- 'version': '9.0.1.0.0',
- 'category': 'Maintenance',
- 'website': "https://laslabs.com",
- 'author': 'LasLabs, Odoo Community Association (OCA)',
- 'license': 'AGPL-3',
- 'application': False,
- 'installable': True,
- 'depends': [
- 'account',
- ],
- 'data': [
- 'views/res_config_view.xml',
- ]
-}
diff --git a/account_enterprise_remove/views/res_config_view.xml b/account_enterprise_remove/views/res_config_view.xml
deleted file mode 100644
index 552b3ef32..000000000
--- a/account_enterprise_remove/views/res_config_view.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-
-
- account settings
- account.config.settings
-
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
-
-
-
diff --git a/base_setup_enterprise_remove/README.rst b/base_setup_enterprise_remove/README.rst
deleted file mode 100644
index ce86cef53..000000000
--- a/base_setup_enterprise_remove/README.rst
+++ /dev/null
@@ -1,52 +0,0 @@
-.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
- :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
- :alt: License: AGPL-3
-
-=======================================
-Base Setup - Remove Enterprise Features
-=======================================
-
-This module removes enterprise-only features from all base_setup views.
-
-Usage
-=====
-
-.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
- :alt: Try me on Runbot
- :target: https://runbot.odoo-community.org/runbot/149/9.0
-
-Bug Tracker
-===========
-
-Bugs are tracked on `GitHub Issues
-`_. In case of trouble, please
-check there if your issue has already been reported. If you spotted it first,
-help us smashing it by providing a detailed and welcomed feedback.
-
-Credits
-=======
-
-Images
-------
-
-* Odoo Community Association: `Icon `_.
-
-Contributors
-------------
-
-* Brett Wood
-
-Maintainer
-----------
-
-.. image:: https://odoo-community.org/logo.png
- :alt: Odoo Community Association
- :target: https://odoo-community.org
-
-This module is maintained by the OCA.
-
-OCA, or the Odoo Community Association, is a nonprofit organization whose
-mission is to support the collaborative development of Odoo features and
-promote its widespread use.
-
-To contribute to this module, please visit https://odoo-community.org.
diff --git a/base_setup_enterprise_remove/static/description/icon.png b/base_setup_enterprise_remove/static/description/icon.png
deleted file mode 100644
index 3a0328b51..000000000
Binary files a/base_setup_enterprise_remove/static/description/icon.png and /dev/null differ
diff --git a/base_setup_enterprise_remove/views/res_config_view.xml b/base_setup_enterprise_remove/views/res_config_view.xml
deleted file mode 100644
index 6d9e441d5..000000000
--- a/base_setup_enterprise_remove/views/res_config_view.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
- General Settings
- base.config.settings
-
-
-
- True
-
-
- True
-
-
-
-
-
diff --git a/mass_mailing_enterprise_remove/README.rst b/mass_mailing_enterprise_remove/README.rst
deleted file mode 100644
index 95a8fbc12..000000000
--- a/mass_mailing_enterprise_remove/README.rst
+++ /dev/null
@@ -1,52 +0,0 @@
-.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
- :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
- :alt: License: AGPL-3
-
-=========================================
-Mass Mailing - Remove Enterprise Features
-=========================================
-
-This module removes enterprise-only features from all mass_mailing views.
-
-Usage
-=====
-
-.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
- :alt: Try me on Runbot
- :target: https://runbot.odoo-community.org/runbot/149/9.0
-
-Bug Tracker
-===========
-
-Bugs are tracked on `GitHub Issues
-`_. In case of trouble, please
-check there if your issue has already been reported. If you spotted it first,
-help us smashing it by providing a detailed and welcomed feedback.
-
-Credits
-=======
-
-Images
-------
-
-* Odoo Community Association: `Icon `_.
-
-Contributors
-------------
-
-* Brett Wood
-
-Maintainer
-----------
-
-.. image:: https://odoo-community.org/logo.png
- :alt: Odoo Community Association
- :target: https://odoo-community.org
-
-This module is maintained by the OCA.
-
-OCA, or the Odoo Community Association, is a nonprofit organization whose
-mission is to support the collaborative development of Odoo features and
-promote its widespread use.
-
-To contribute to this module, please visit https://odoo-community.org.
diff --git a/mass_mailing_enterprise_remove/__init__.py b/mass_mailing_enterprise_remove/__init__.py
deleted file mode 100644
index e50cfb2d6..000000000
--- a/mass_mailing_enterprise_remove/__init__.py
+++ /dev/null
@@ -1,3 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright 2016 LasLabs Inc.
-# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
diff --git a/mass_mailing_enterprise_remove/__openerp__.py b/mass_mailing_enterprise_remove/__openerp__.py
deleted file mode 100644
index bfbe25c9b..000000000
--- a/mass_mailing_enterprise_remove/__openerp__.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright 2016 LasLabs Inc.
-# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-
-{
- 'name': 'Mass Mailing - Remove Enterprise Features',
- 'version': '9.0.1.0.0',
- 'category': 'Maintenance',
- 'website': "https://laslabs.com",
- 'author': 'LasLabs, Odoo Community Association (OCA)',
- 'license': 'AGPL-3',
- 'application': False,
- 'installable': True,
- 'depends': [
- 'mass_mailing',
- ],
- 'data': [
- 'views/res_config_view.xml',
- ]
-}
diff --git a/mass_mailing_enterprise_remove/static/description/icon.png b/mass_mailing_enterprise_remove/static/description/icon.png
deleted file mode 100644
index 3a0328b51..000000000
Binary files a/mass_mailing_enterprise_remove/static/description/icon.png and /dev/null differ
diff --git a/mass_mailing_enterprise_remove/views/res_config_view.xml b/mass_mailing_enterprise_remove/views/res_config_view.xml
deleted file mode 100644
index d894a4988..000000000
--- a/mass_mailing_enterprise_remove/views/res_config_view.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
- Configure Mass Mailing
- mass.mailing.config.settings
-
-
-
- True
-
-
-
-
-
diff --git a/project_enterprise_remove/README.rst b/project_enterprise_remove/README.rst
deleted file mode 100644
index d7ddec022..000000000
--- a/project_enterprise_remove/README.rst
+++ /dev/null
@@ -1,52 +0,0 @@
-.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
- :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
- :alt: License: AGPL-3
-
-====================================
-Project - Remove Enterprise Features
-====================================
-
-This module removes enterprise-only features from all project views.
-
-Usage
-=====
-
-.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
- :alt: Try me on Runbot
- :target: https://runbot.odoo-community.org/runbot/149/9.0
-
-Bug Tracker
-===========
-
-Bugs are tracked on `GitHub Issues
-`_. In case of trouble, please
-check there if your issue has already been reported. If you spotted it first,
-help us smashing it by providing a detailed and welcomed feedback.
-
-Credits
-=======
-
-Images
-------
-
-* Odoo Community Association: `Icon `_.
-
-Contributors
-------------
-
-* Brett Wood
-
-Maintainer
-----------
-
-.. image:: https://odoo-community.org/logo.png
- :alt: Odoo Community Association
- :target: https://odoo-community.org
-
-This module is maintained by the OCA.
-
-OCA, or the Odoo Community Association, is a nonprofit organization whose
-mission is to support the collaborative development of Odoo features and
-promote its widespread use.
-
-To contribute to this module, please visit https://odoo-community.org.
diff --git a/project_enterprise_remove/__init__.py b/project_enterprise_remove/__init__.py
deleted file mode 100644
index e50cfb2d6..000000000
--- a/project_enterprise_remove/__init__.py
+++ /dev/null
@@ -1,3 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright 2016 LasLabs Inc.
-# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
diff --git a/project_enterprise_remove/__openerp__.py b/project_enterprise_remove/__openerp__.py
deleted file mode 100644
index 4865f2d11..000000000
--- a/project_enterprise_remove/__openerp__.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright 2016 LasLabs Inc.
-# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-
-{
- 'name': 'Project - Remove Enterprise Features',
- 'version': '9.0.1.0.0',
- 'category': 'Maintenance',
- 'website': "https://laslabs.com",
- 'author': 'LasLabs, Odoo Community Association (OCA)',
- 'license': 'AGPL-3',
- 'application': False,
- 'installable': True,
- 'depends': [
- 'project',
- ],
- 'data': [
- 'views/res_config_view.xml',
- ]
-}
diff --git a/project_enterprise_remove/static/description/icon.png b/project_enterprise_remove/static/description/icon.png
deleted file mode 100644
index 3a0328b51..000000000
Binary files a/project_enterprise_remove/static/description/icon.png and /dev/null differ
diff --git a/project_enterprise_remove/views/res_config_view.xml b/project_enterprise_remove/views/res_config_view.xml
deleted file mode 100644
index 054c510b6..000000000
--- a/project_enterprise_remove/views/res_config_view.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
-
-
- project settings
- project.config.settings
-
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
-
-
-
diff --git a/account_enterprise_remove/README.rst b/res_config_settings_enterprise_remove/README.rst
similarity index 67%
rename from account_enterprise_remove/README.rst
rename to res_config_settings_enterprise_remove/README.rst
index d0435899a..378960b54 100644
--- a/account_enterprise_remove/README.rst
+++ b/res_config_settings_enterprise_remove/README.rst
@@ -2,11 +2,14 @@
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
-====================================
-Account - Remove Enterprise Features
-====================================
+===================================
+Settings - Remove Enterprise Fields
+===================================
-This module removes enterprise-only features from all account views.
+This module removes enterprise-only features from all settings views.
+Note that it does not remove the possibility to install
+Enterprise modules. If necessary, all Enterprise Edition code is still
+available and can be manually installed via the Apps menu.
Usage
=====
@@ -15,6 +18,13 @@ Usage
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/149/9.0
+Known issues / Roadmap
+======================
+
+Keep in mind that this module does not mark the enterprise fields as invisible.
+Instead, it completely removes them, so any modules that are referencing those fields in
+the settings views will break.
+
Bug Tracker
===========
diff --git a/base_setup_enterprise_remove/__init__.py b/res_config_settings_enterprise_remove/__init__.py
similarity index 85%
rename from base_setup_enterprise_remove/__init__.py
rename to res_config_settings_enterprise_remove/__init__.py
index e50cfb2d6..fcbf221a8 100644
--- a/base_setup_enterprise_remove/__init__.py
+++ b/res_config_settings_enterprise_remove/__init__.py
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2016 LasLabs Inc.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
+
+from . import models
\ No newline at end of file
diff --git a/base_setup_enterprise_remove/__openerp__.py b/res_config_settings_enterprise_remove/__openerp__.py
similarity index 73%
rename from base_setup_enterprise_remove/__openerp__.py
rename to res_config_settings_enterprise_remove/__openerp__.py
index 4225510bc..de20259e2 100644
--- a/base_setup_enterprise_remove/__openerp__.py
+++ b/res_config_settings_enterprise_remove/__openerp__.py
@@ -3,7 +3,8 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
- 'name': 'Base Setup - Remove Enterprise Features',
+ 'name': 'Settings - Remove Enterprise Fields',
+ 'summary': 'Remove fields in all settings views marked as enterprise',
'version': '9.0.1.0.0',
'category': 'Maintenance',
'website': "https://laslabs.com",
@@ -12,9 +13,6 @@
'application': False,
'installable': True,
'depends': [
- 'base_setup',
+ 'base',
],
- 'data': [
- 'views/res_config_view.xml',
- ]
}
diff --git a/account_enterprise_remove/__init__.py b/res_config_settings_enterprise_remove/models/__init__.py
similarity index 78%
rename from account_enterprise_remove/__init__.py
rename to res_config_settings_enterprise_remove/models/__init__.py
index e50cfb2d6..7cce34f0e 100644
--- a/account_enterprise_remove/__init__.py
+++ b/res_config_settings_enterprise_remove/models/__init__.py
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2016 LasLabs Inc.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
+
+from . import res_config_settings
\ No newline at end of file
diff --git a/res_config_settings_enterprise_remove/models/res_config_settings.py b/res_config_settings_enterprise_remove/models/res_config_settings.py
new file mode 100644
index 000000000..488ff5409
--- /dev/null
+++ b/res_config_settings_enterprise_remove/models/res_config_settings.py
@@ -0,0 +1,54 @@
+# -*- coding: utf-8 -*-
+# Copyright 2016 LasLabs Inc.
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
+
+from openerp import api
+from lxml import etree
+from openerp.addons.base.res.res_config import \
+ res_config_settings
+
+
+class ResConfigSettings(res_config_settings):
+
+ @api.model
+ def fields_view_get(self, view_id=None, view_type='form',
+ context=None, toolbar=False, submenu=False):
+
+ ret_val = super(ResConfigSettings, self).fields_view_get(
+ view_id=view_id,
+ view_type=view_type,
+ context=context,
+ toolbar=toolbar,
+ submenu=submenu,
+ )
+
+ page_name = ret_val['name']
+ doc = etree.XML(ret_val['arch'])
+
+ queries = []
+ if page_name == 'account settings':
+ queries += [
+ "//div[field[@name='module_account_reports' and \
+ @widget='upgrade_boolean']]",
+ "//div[field[@name='module_account_reports_followup' and \
+ @widget='upgrade_boolean']]",
+ "//div[field[@name='module_account_batch_deposit' and \
+ @widget='upgrade_boolean']]",
+ ]
+
+ queries += [
+ "//div[div[field[@widget='upgrade_boolean']]] \
+ /preceding-sibling::label[1]",
+ "//div[div[field[@widget='upgrade_boolean']]]",
+ "//div[field[@widget='upgrade_boolean']] \
+ /preceding-sibling::label[1]",
+ "//div[field[@widget='upgrade_boolean']]",
+ "//field[@widget='upgrade_boolean']",
+ ]
+
+ for query in queries:
+ for item in doc.xpath(query):
+ item.getparent().remove(item)
+
+ ret_val['arch'] = etree.tostring(doc)
+ return ret_val
diff --git a/account_enterprise_remove/static/description/icon.png b/res_config_settings_enterprise_remove/static/description/icon.png
similarity index 100%
rename from account_enterprise_remove/static/description/icon.png
rename to res_config_settings_enterprise_remove/static/description/icon.png
diff --git a/sale_enterprise_remove/README.rst b/sale_enterprise_remove/README.rst
deleted file mode 100644
index 896d3f101..000000000
--- a/sale_enterprise_remove/README.rst
+++ /dev/null
@@ -1,52 +0,0 @@
-.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
- :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
- :alt: License: AGPL-3
-
-=================================
-Sale - Remove Enterprise Features
-=================================
-
-This module removes enterprise-only features from all sale views.
-
-Usage
-=====
-
-.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
- :alt: Try me on Runbot
- :target: https://runbot.odoo-community.org/runbot/149/9.0
-
-Bug Tracker
-===========
-
-Bugs are tracked on `GitHub Issues
-`_. In case of trouble, please
-check there if your issue has already been reported. If you spotted it first,
-help us smashing it by providing a detailed and welcomed feedback.
-
-Credits
-=======
-
-Images
-------
-
-* Odoo Community Association: `Icon `_.
-
-Contributors
-------------
-
-* Brett Wood
-
-Maintainer
-----------
-
-.. image:: https://odoo-community.org/logo.png
- :alt: Odoo Community Association
- :target: https://odoo-community.org
-
-This module is maintained by the OCA.
-
-OCA, or the Odoo Community Association, is a nonprofit organization whose
-mission is to support the collaborative development of Odoo features and
-promote its widespread use.
-
-To contribute to this module, please visit https://odoo-community.org.
diff --git a/sale_enterprise_remove/__init__.py b/sale_enterprise_remove/__init__.py
deleted file mode 100644
index e50cfb2d6..000000000
--- a/sale_enterprise_remove/__init__.py
+++ /dev/null
@@ -1,3 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright 2016 LasLabs Inc.
-# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
diff --git a/sale_enterprise_remove/__openerp__.py b/sale_enterprise_remove/__openerp__.py
deleted file mode 100644
index ba4a36e5c..000000000
--- a/sale_enterprise_remove/__openerp__.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright 2016 LasLabs Inc.
-# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-
-{
- 'name': 'Sale - Remove Enterprise Features',
- 'version': '9.0.1.0.0',
- 'category': 'Maintenance',
- 'website': "https://laslabs.com",
- 'author': 'LasLabs, Odoo Community Association (OCA)',
- 'license': 'AGPL-3',
- 'application': False,
- 'installable': True,
- 'depends': [
- 'sale',
- ],
- 'data': [
- 'views/res_config_view.xml',
- ]
-}
diff --git a/sale_enterprise_remove/static/description/icon.png b/sale_enterprise_remove/static/description/icon.png
deleted file mode 100644
index 3a0328b51..000000000
Binary files a/sale_enterprise_remove/static/description/icon.png and /dev/null differ
diff --git a/sale_enterprise_remove/views/res_config_view.xml b/sale_enterprise_remove/views/res_config_view.xml
deleted file mode 100644
index 755057ccc..000000000
--- a/sale_enterprise_remove/views/res_config_view.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
- sale settings
- sale.config.settings
-
-
-
- True
-
-
- True
-
-
-
-
-
diff --git a/setup/account_enterprise_remove/odoo_addons/__init__.py b/setup/account_enterprise_remove/odoo_addons/__init__.py
deleted file mode 100644
index de40ea7ca..000000000
--- a/setup/account_enterprise_remove/odoo_addons/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-__import__('pkg_resources').declare_namespace(__name__)
diff --git a/setup/account_enterprise_remove/odoo_addons/account_enterprise_remove b/setup/account_enterprise_remove/odoo_addons/account_enterprise_remove
deleted file mode 120000
index b4db337c1..000000000
--- a/setup/account_enterprise_remove/odoo_addons/account_enterprise_remove
+++ /dev/null
@@ -1 +0,0 @@
-../../../account_enterprise_remove
\ No newline at end of file
diff --git a/setup/account_enterprise_remove/setup.py b/setup/account_enterprise_remove/setup.py
deleted file mode 100644
index 28c57bb64..000000000
--- a/setup/account_enterprise_remove/setup.py
+++ /dev/null
@@ -1,6 +0,0 @@
-import setuptools
-
-setuptools.setup(
- setup_requires=['setuptools-odoo'],
- odoo_addon=True,
-)
diff --git a/setup/base_setup_enterprise_remove/odoo_addons/__init__.py b/setup/base_setup_enterprise_remove/odoo_addons/__init__.py
deleted file mode 100644
index de40ea7ca..000000000
--- a/setup/base_setup_enterprise_remove/odoo_addons/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-__import__('pkg_resources').declare_namespace(__name__)
diff --git a/setup/base_setup_enterprise_remove/odoo_addons/base_setup_enterprise_remove b/setup/base_setup_enterprise_remove/odoo_addons/base_setup_enterprise_remove
deleted file mode 120000
index 30e62f107..000000000
--- a/setup/base_setup_enterprise_remove/odoo_addons/base_setup_enterprise_remove
+++ /dev/null
@@ -1 +0,0 @@
-../../../base_setup_enterprise_remove
\ No newline at end of file
diff --git a/setup/base_setup_enterprise_remove/setup.py b/setup/base_setup_enterprise_remove/setup.py
deleted file mode 100644
index 28c57bb64..000000000
--- a/setup/base_setup_enterprise_remove/setup.py
+++ /dev/null
@@ -1,6 +0,0 @@
-import setuptools
-
-setuptools.setup(
- setup_requires=['setuptools-odoo'],
- odoo_addon=True,
-)
diff --git a/setup/mass_mailing_enterprise_remove/odoo_addons/__init__.py b/setup/mass_mailing_enterprise_remove/odoo_addons/__init__.py
deleted file mode 100644
index de40ea7ca..000000000
--- a/setup/mass_mailing_enterprise_remove/odoo_addons/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-__import__('pkg_resources').declare_namespace(__name__)
diff --git a/setup/mass_mailing_enterprise_remove/odoo_addons/mass_mailing_enterprise_remove b/setup/mass_mailing_enterprise_remove/odoo_addons/mass_mailing_enterprise_remove
deleted file mode 120000
index 94b67dae8..000000000
--- a/setup/mass_mailing_enterprise_remove/odoo_addons/mass_mailing_enterprise_remove
+++ /dev/null
@@ -1 +0,0 @@
-../../../mass_mailing_enterprise_remove
\ No newline at end of file
diff --git a/setup/mass_mailing_enterprise_remove/setup.py b/setup/mass_mailing_enterprise_remove/setup.py
deleted file mode 100644
index 28c57bb64..000000000
--- a/setup/mass_mailing_enterprise_remove/setup.py
+++ /dev/null
@@ -1,6 +0,0 @@
-import setuptools
-
-setuptools.setup(
- setup_requires=['setuptools-odoo'],
- odoo_addon=True,
-)
diff --git a/setup/project_enterprise_remove/odoo_addons/__init__.py b/setup/project_enterprise_remove/odoo_addons/__init__.py
deleted file mode 100644
index de40ea7ca..000000000
--- a/setup/project_enterprise_remove/odoo_addons/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-__import__('pkg_resources').declare_namespace(__name__)
diff --git a/setup/project_enterprise_remove/odoo_addons/project_enterprise_remove b/setup/project_enterprise_remove/odoo_addons/project_enterprise_remove
deleted file mode 120000
index 2f0264212..000000000
--- a/setup/project_enterprise_remove/odoo_addons/project_enterprise_remove
+++ /dev/null
@@ -1 +0,0 @@
-../../../project_enterprise_remove
\ No newline at end of file
diff --git a/setup/project_enterprise_remove/setup.py b/setup/project_enterprise_remove/setup.py
deleted file mode 100644
index 28c57bb64..000000000
--- a/setup/project_enterprise_remove/setup.py
+++ /dev/null
@@ -1,6 +0,0 @@
-import setuptools
-
-setuptools.setup(
- setup_requires=['setuptools-odoo'],
- odoo_addon=True,
-)
diff --git a/setup/sale_enterprise_remove/odoo_addons/__init__.py b/setup/sale_enterprise_remove/odoo_addons/__init__.py
deleted file mode 100644
index de40ea7ca..000000000
--- a/setup/sale_enterprise_remove/odoo_addons/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-__import__('pkg_resources').declare_namespace(__name__)
diff --git a/setup/sale_enterprise_remove/odoo_addons/sale_enterprise_remove b/setup/sale_enterprise_remove/odoo_addons/sale_enterprise_remove
deleted file mode 120000
index 817c27cc2..000000000
--- a/setup/sale_enterprise_remove/odoo_addons/sale_enterprise_remove
+++ /dev/null
@@ -1 +0,0 @@
-../../../sale_enterprise_remove
\ No newline at end of file
diff --git a/setup/sale_enterprise_remove/setup.py b/setup/sale_enterprise_remove/setup.py
deleted file mode 100644
index 28c57bb64..000000000
--- a/setup/sale_enterprise_remove/setup.py
+++ /dev/null
@@ -1,6 +0,0 @@
-import setuptools
-
-setuptools.setup(
- setup_requires=['setuptools-odoo'],
- odoo_addon=True,
-)
diff --git a/setup/stock_enterprise_remove/odoo_addons/__init__.py b/setup/stock_enterprise_remove/odoo_addons/__init__.py
deleted file mode 100644
index de40ea7ca..000000000
--- a/setup/stock_enterprise_remove/odoo_addons/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-__import__('pkg_resources').declare_namespace(__name__)
diff --git a/setup/stock_enterprise_remove/odoo_addons/stock_enterprise_remove b/setup/stock_enterprise_remove/odoo_addons/stock_enterprise_remove
deleted file mode 120000
index 0eacbd1a9..000000000
--- a/setup/stock_enterprise_remove/odoo_addons/stock_enterprise_remove
+++ /dev/null
@@ -1 +0,0 @@
-../../../stock_enterprise_remove
\ No newline at end of file
diff --git a/setup/stock_enterprise_remove/setup.py b/setup/stock_enterprise_remove/setup.py
deleted file mode 100644
index 28c57bb64..000000000
--- a/setup/stock_enterprise_remove/setup.py
+++ /dev/null
@@ -1,6 +0,0 @@
-import setuptools
-
-setuptools.setup(
- setup_requires=['setuptools-odoo'],
- odoo_addon=True,
-)
diff --git a/setup/website_sale_enterprise_remove/odoo_addons/__init__.py b/setup/website_sale_enterprise_remove/odoo_addons/__init__.py
deleted file mode 100644
index de40ea7ca..000000000
--- a/setup/website_sale_enterprise_remove/odoo_addons/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-__import__('pkg_resources').declare_namespace(__name__)
diff --git a/setup/website_sale_enterprise_remove/odoo_addons/website_sale_enterprise_remove b/setup/website_sale_enterprise_remove/odoo_addons/website_sale_enterprise_remove
deleted file mode 120000
index 9e9c409d8..000000000
--- a/setup/website_sale_enterprise_remove/odoo_addons/website_sale_enterprise_remove
+++ /dev/null
@@ -1 +0,0 @@
-../../../website_sale_enterprise_remove
\ No newline at end of file
diff --git a/setup/website_sale_enterprise_remove/setup.py b/setup/website_sale_enterprise_remove/setup.py
deleted file mode 100644
index 28c57bb64..000000000
--- a/setup/website_sale_enterprise_remove/setup.py
+++ /dev/null
@@ -1,6 +0,0 @@
-import setuptools
-
-setuptools.setup(
- setup_requires=['setuptools-odoo'],
- odoo_addon=True,
-)
diff --git a/stock_enterprise_remove/README.rst b/stock_enterprise_remove/README.rst
deleted file mode 100644
index 987538c07..000000000
--- a/stock_enterprise_remove/README.rst
+++ /dev/null
@@ -1,52 +0,0 @@
-.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
- :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
- :alt: License: AGPL-3
-
-==================================
-Stock - Remove Enterprise Features
-==================================
-
-This module removes enterprise-only features from all stock views.
-
-Usage
-=====
-
-.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
- :alt: Try me on Runbot
- :target: https://runbot.odoo-community.org/runbot/149/9.0
-
-Bug Tracker
-===========
-
-Bugs are tracked on `GitHub Issues
-`_. In case of trouble, please
-check there if your issue has already been reported. If you spotted it first,
-help us smashing it by providing a detailed and welcomed feedback.
-
-Credits
-=======
-
-Images
-------
-
-* Odoo Community Association: `Icon `_.
-
-Contributors
-------------
-
-* Brett Wood
-
-Maintainer
-----------
-
-.. image:: https://odoo-community.org/logo.png
- :alt: Odoo Community Association
- :target: https://odoo-community.org
-
-This module is maintained by the OCA.
-
-OCA, or the Odoo Community Association, is a nonprofit organization whose
-mission is to support the collaborative development of Odoo features and
-promote its widespread use.
-
-To contribute to this module, please visit https://odoo-community.org.
diff --git a/stock_enterprise_remove/__init__.py b/stock_enterprise_remove/__init__.py
deleted file mode 100644
index e50cfb2d6..000000000
--- a/stock_enterprise_remove/__init__.py
+++ /dev/null
@@ -1,3 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright 2016 LasLabs Inc.
-# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
diff --git a/stock_enterprise_remove/__openerp__.py b/stock_enterprise_remove/__openerp__.py
deleted file mode 100644
index e4b68e04e..000000000
--- a/stock_enterprise_remove/__openerp__.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright 2016 LasLabs Inc.
-# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-
-{
- 'name': 'Stock - Remove Enterprise Features',
- 'version': '9.0.1.0.0',
- 'category': 'Maintenance',
- 'website': "https://laslabs.com",
- 'author': 'LasLabs, Odoo Community Association (OCA)',
- 'license': 'AGPL-3',
- 'application': False,
- 'installable': True,
- 'depends': [
- 'stock',
- ],
- 'data': [
- 'views/res_config_view.xml',
- ]
-}
diff --git a/stock_enterprise_remove/static/description/icon.png b/stock_enterprise_remove/static/description/icon.png
deleted file mode 100644
index 3a0328b51..000000000
Binary files a/stock_enterprise_remove/static/description/icon.png and /dev/null differ
diff --git a/stock_enterprise_remove/views/res_config_view.xml b/stock_enterprise_remove/views/res_config_view.xml
deleted file mode 100644
index 79a86ad72..000000000
--- a/stock_enterprise_remove/views/res_config_view.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
- stock settings
- stock.config.settings
-
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
-
-
-
diff --git a/website_sale_enterprise_remove/README.rst b/website_sale_enterprise_remove/README.rst
deleted file mode 100644
index 121d58369..000000000
--- a/website_sale_enterprise_remove/README.rst
+++ /dev/null
@@ -1,52 +0,0 @@
-.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
- :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
- :alt: License: AGPL-3
-
-=========================================
-Website Sale - Remove Enterprise Features
-=========================================
-
-This module removes enterprise-only features from all website_sale views.
-
-Usage
-=====
-
-.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
- :alt: Try me on Runbot
- :target: https://runbot.odoo-community.org/runbot/149/9.0
-
-Bug Tracker
-===========
-
-Bugs are tracked on `GitHub Issues
-`_. In case of trouble, please
-check there if your issue has already been reported. If you spotted it first,
-help us smashing it by providing a detailed and welcomed feedback.
-
-Credits
-=======
-
-Images
-------
-
-* Odoo Community Association: `Icon `_.
-
-Contributors
-------------
-
-* Brett Wood
-
-Maintainer
-----------
-
-.. image:: https://odoo-community.org/logo.png
- :alt: Odoo Community Association
- :target: https://odoo-community.org
-
-This module is maintained by the OCA.
-
-OCA, or the Odoo Community Association, is a nonprofit organization whose
-mission is to support the collaborative development of Odoo features and
-promote its widespread use.
-
-To contribute to this module, please visit https://odoo-community.org.
diff --git a/website_sale_enterprise_remove/__init__.py b/website_sale_enterprise_remove/__init__.py
deleted file mode 100644
index e50cfb2d6..000000000
--- a/website_sale_enterprise_remove/__init__.py
+++ /dev/null
@@ -1,3 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright 2016 LasLabs Inc.
-# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
diff --git a/website_sale_enterprise_remove/__openerp__.py b/website_sale_enterprise_remove/__openerp__.py
deleted file mode 100644
index 789b6047b..000000000
--- a/website_sale_enterprise_remove/__openerp__.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright 2016 LasLabs Inc.
-# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-
-{
- 'name': 'Website Sale - Remove Enterprise Features',
- 'version': '9.0.1.0.0',
- 'category': 'Maintenance',
- 'website': "https://laslabs.com",
- 'author': 'LasLabs, Odoo Community Association (OCA)',
- 'license': 'AGPL-3',
- 'application': False,
- 'installable': True,
- 'depends': [
- 'website_sale',
- ],
- 'data': [
- 'views/res_config_view.xml',
- ]
-}
diff --git a/website_sale_enterprise_remove/static/description/icon.png b/website_sale_enterprise_remove/static/description/icon.png
deleted file mode 100644
index 3a0328b51..000000000
Binary files a/website_sale_enterprise_remove/static/description/icon.png and /dev/null differ
diff --git a/website_sale_enterprise_remove/views/res_config_view.xml b/website_sale_enterprise_remove/views/res_config_view.xml
deleted file mode 100644
index fd1e504b7..000000000
--- a/website_sale_enterprise_remove/views/res_config_view.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
- Website settings
- website.config.settings
-
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
-
-
-