From 1e1b99c4fa362f8e22c4007838fc38a5255ab621 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Wed, 14 Aug 2013 09:48:23 +0200 Subject: [PATCH] [IMP] renamed to disable_openerp_online [ADD] icon curtesy to http://commons.wikimedia.org/wiki/File:Oxygen480-actions-network-disconnect.svg [IMP] disarmed openerp.tools.misc.upload_data_thread --- .../__init__.py | 3 +++ .../__openerp__.py | 12 +++++++----- .../data/ir_cron.xml | 0 .../data/ir_ui_menu.xml | 0 .../model/__init__.py | 0 .../model/publisher_warranty_contract.py | 0 disable_openerp_online/static/src/img/icon.png | Bin 0 -> 4141 bytes .../static/src/xml/base.xml | 0 8 files changed, 10 insertions(+), 5 deletions(-) rename {decouple_oe_sa => disable_openerp_online}/__init__.py (91%) rename {decouple_oe_sa => disable_openerp_online}/__openerp__.py (83%) rename {decouple_oe_sa => disable_openerp_online}/data/ir_cron.xml (100%) rename {decouple_oe_sa => disable_openerp_online}/data/ir_ui_menu.xml (100%) rename {decouple_oe_sa => disable_openerp_online}/model/__init__.py (100%) rename {decouple_oe_sa => disable_openerp_online}/model/publisher_warranty_contract.py (100%) create mode 100644 disable_openerp_online/static/src/img/icon.png rename {decouple_oe_sa => disable_openerp_online}/static/src/xml/base.xml (100%) 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 0000000000000000000000000000000000000000..7252e01ea68e84cd59d70f29f7dec9c667b39ac2 GIT binary patch literal 4141 zcmaJ^i9ZwWAK%Kc%$YMJgwP_AD=`|8a~Mq_gb15^u8Q1eRBpp6M6NkEXRS;vN4c9h za_md)Rc?OkANW1z>-BlPKF{-fp6C63KhKk7WpR^>LzDvm0C1TY!>pOT)xQd2W47sh zTh+{t&DHcK3~>A}mvodrXIf67jgf&&kFkFhXdqvJVH(+kOw0}0X&`R)OTZbzf-?ZX zLo|Wu+hTsK7DPQ0SSTWQ9jelXXbk+7hAS)mAJ(#>40E3FsX2ij z<8Ys`H_oxLQ@9Ixor1Qr2(}MR-9=891HQf5&{C*>wA@&rwAfLXB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