summaryrefslogtreecommitdiff
path: root/openerpcommand/update.py
diff options
context:
space:
mode:
authorAntony Lesuisse <lesuisse@gmail.com>2014-05-29 18:33:04 +0200
committerAntony Lesuisse <lesuisse@gmail.com>2014-05-29 18:33:04 +0200
commitd4624fa826a5e9542782f2c53c8ba2c766d093bc (patch)
treebe214779eb6d1f17157aa48e72fbcbf95405e38b /openerpcommand/update.py
parent045ecc603e67911a5390c812cb6b5b123d9c190e (diff)
[IMP] repository cleanup
- move packaging stuff to setup - remove historical stuff - remove oe, odoo-cmd-fme will be merged with the convered commands - add an odoo.py script to run odo and boostrap it - simplify README - prepare to move documentation to the github wiki
Diffstat (limited to 'openerpcommand/update.py')
-rw-r--r--openerpcommand/update.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/openerpcommand/update.py b/openerpcommand/update.py
deleted file mode 100644
index 66a47dc5692..00000000000
--- a/openerpcommand/update.py
+++ /dev/null
@@ -1,19 +0,0 @@
-"""
-Update an existing OpenERP database.
-"""
-
-def run(args):
- assert args.database
- import openerp
- config = openerp.tools.config
- config['update']['all'] = 1
- openerp.modules.registry.RegistryManager.get(
- args.database, update_module=True)
-
-def add_parser(subparsers):
- parser = subparsers.add_parser('update',
- description='Update an existing OpenERP database.')
- parser.add_argument('-d', '--database', metavar='DATABASE', required=True,
- help='the database to update')
-
- parser.set_defaults(run=run)