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 74% rename from account_enterprise_remove/README.rst rename to res_config_settings_enterprise_remove/README.rst index d0435899a..a9e45e4f3 100644 --- a/account_enterprise_remove/README.rst +++ b/res_config_settings_enterprise_remove/README.rst @@ -2,11 +2,11 @@ :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. Usage ===== @@ -15,6 +15,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..a091b5d84 --- /dev/null +++ b/res_config_settings_enterprise_remove/models/res_config_settings.py @@ -0,0 +1,75 @@ +# -*- 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, + ) + + doc = etree.XML(ret_val['arch']) + + # Remove Individual Elements + xpath_specific_queries = [ + # Sale + "//div[field[@name='module_sale_contract']] \ + /preceding-sibling::label[1]", + # Inventory + "//div[div[field[@name='module_delivery_dhl']]] \ + /preceding-sibling::label[1]", + "//div[div[field[@name='module_stock_barcode']]] \ + /preceding-sibling::label[1]", + # Invoicing + "//a[@href='https://www.odoo.com/page/accounting-features']", + "//div[@name='bank_statement_import_options'] \ + /preceding-sibling::label[1]", + "//div[@name='bank_payments']/preceding-sibling::label[1]", + # Project + "//div[div[field[@name='module_project_forecast']]] \ + /preceding-sibling::label[1]", + "//div[field[@name='module_project_timesheet_synchro']] \ + /preceding-sibling::label[1]", + # WebsiteAdmin + "//div[div[field[@name='module_website_form_editor']]] \ + /preceding-sibling::label[1]", + ] + + for query in xpath_specific_queries: + items = doc.xpath("%s" % query) + for item in items: + item.getparent().remove(item) + + # Bulk Remove Fields and Labels + upgrade_fields = doc.xpath("//field[@widget='upgrade_boolean']") + for field in upgrade_fields: + for label in doc.xpath("//label[@for='%s']" % field.get('name')): + label.getparent().remove(label) + field.getparent().remove(field) + + # Clean Up Empty Divs + complete = False + while not complete: + divs = doc.xpath("//div[not(*)]") + if not divs: + complete = True + else: + for div in divs: + div.getparent().remove(div) + + 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 - - - - -