diff --git a/decouple_oe_sa/__init__.py b/disable_openerp_online/__init__.py similarity index 91% rename from decouple_oe_sa/__init__.py rename to disable_openerp_online/__init__.py index 4d083ea93..755cda011 100644 --- a/decouple_oe_sa/__init__.py +++ b/disable_openerp_online/__init__.py @@ -19,3 +19,6 @@ # ############################################################################## import model + +from openerp.tools.misc import upload_data_thread +upload_data_thread.run = lambda x: None diff --git a/decouple_oe_sa/__openerp__.py b/disable_openerp_online/__openerp__.py similarity index 83% rename from decouple_oe_sa/__openerp__.py rename to disable_openerp_online/__openerp__.py index eb028bdf0..0f96c7ebf 100644 --- a/decouple_oe_sa/__openerp__.py +++ b/disable_openerp_online/__openerp__.py @@ -23,11 +23,13 @@ "version" : "1.0", "author" : "Therp BV", "complexity": "normal", - "description": """This module deactivates all bindings to openerp.com that - come with the standard code: - - update notifier code is deactivated and the function is overwritten - - apps and updates menu items in settings are removed - - help and account menu items in user menu are removed + "description": """ +This module deactivates all bindings to openerp.com that +come with the standard code: + +* update notifier code is deactivated and the function is overwritten +* apps and updates menu items in settings are removed +* help and account menu items in user menu are removed """, "category" : "", "depends" : [ diff --git a/decouple_oe_sa/data/ir_cron.xml b/disable_openerp_online/data/ir_cron.xml similarity index 100% rename from decouple_oe_sa/data/ir_cron.xml rename to disable_openerp_online/data/ir_cron.xml diff --git a/decouple_oe_sa/data/ir_ui_menu.xml b/disable_openerp_online/data/ir_ui_menu.xml similarity index 100% rename from decouple_oe_sa/data/ir_ui_menu.xml rename to disable_openerp_online/data/ir_ui_menu.xml diff --git a/decouple_oe_sa/model/__init__.py b/disable_openerp_online/model/__init__.py similarity index 100% rename from decouple_oe_sa/model/__init__.py rename to disable_openerp_online/model/__init__.py diff --git a/decouple_oe_sa/model/publisher_warranty_contract.py b/disable_openerp_online/model/publisher_warranty_contract.py similarity index 100% rename from decouple_oe_sa/model/publisher_warranty_contract.py rename to disable_openerp_online/model/publisher_warranty_contract.py diff --git a/disable_openerp_online/static/src/img/icon.png b/disable_openerp_online/static/src/img/icon.png new file mode 100644 index 000000000..7252e01ea Binary files /dev/null and b/disable_openerp_online/static/src/img/icon.png differ diff --git a/decouple_oe_sa/static/src/xml/base.xml b/disable_openerp_online/static/src/xml/base.xml similarity index 100% rename from decouple_oe_sa/static/src/xml/base.xml rename to disable_openerp_online/static/src/xml/base.xml