diff options
| author | Stephane Wirtel <stephane@tinyerp.com> | 2008-09-10 10:46:40 +0200 |
|---|---|---|
| committer | Stephane Wirtel <stephane@tinyerp.com> | 2008-09-10 10:46:40 +0200 |
| commit | dbe1e8ca98abebcb6045614d6ced335e3edb9bf6 (patch) | |
| tree | 1c214fa22e9e2d89dcd72f41733f0cf6f268f2d5 /bin/tools | |
| parent | d4538e04380528fd0556851d99ab9ce7cdacb612 (diff) | |
Rename Tiny ERP to OpenERP
Rename tinyerp to openerp
bzr revid: stephane@tinyerp.com-20080910084640-bg1h1bre7mwky8s0
Diffstat (limited to 'bin/tools')
| -rw-r--r-- | bin/tools/config.py | 12 | ||||
| -rw-r--r-- | bin/tools/import_email.py | 2 | ||||
| -rw-r--r-- | bin/tools/misc.py | 4 | ||||
| -rw-r--r-- | bin/tools/translate.py | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/bin/tools/config.py b/bin/tools/config.py index df01bf50e3e..2f01e409730 100644 --- a/bin/tools/config.py +++ b/bin/tools/config.py @@ -74,10 +74,10 @@ class configmanager(object): assert_exit_levels = (netsvc.LOG_CRITICAL, netsvc.LOG_ERROR, netsvc.LOG_WARNING, netsvc.LOG_INFO, netsvc.LOG_DEBUG) - parser = optparse.OptionParser(version=tinyerp_version_string) + parser = optparse.OptionParser(version=openerp_version_string) parser.add_option("-c", "--config", dest="config", help="specify alternate config file") - parser.add_option("-s", "--save", action="store_true", dest="save", default=False, help="save configuration to ~/.terp_serverrc") + parser.add_option("-s", "--save", action="store_true", dest="save", default=False, help="save configuration to ~/.openerp_serverrc") parser.add_option("-v", "--verbose", action="store_true", dest="verbose", default=False, help="enable debugging") parser.add_option("--pidfile", dest="pidfile", help="file where the server pid will be stored") parser.add_option("--logfile", dest="logfile", help="file where the server log will be stored") @@ -121,7 +121,7 @@ class configmanager(object): parser.add_option_group(group) group = optparse.OptionGroup(parser, "Internationalisation options", - "Use these options to translate Tiny ERP to another language." + "Use these options to translate OpenERP to another language." "See i18n section of the user manual. Option '-d' is mandatory." "Option '-l' is mandatory in case of importation" ) @@ -143,11 +143,11 @@ class configmanager(object): # if the server is run by an unprivileged user, he has to specify location of a config file where he has the rights to write, # else he won't be able to save the configurations, or even to start the server... if os.name == 'nt': - rcfilepath = os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), 'tinyerp-server.conf') + rcfilepath = os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), 'openerp-server.conf') else: - rcfilepath = os.path.expanduser('~/.terp_serverrc') + rcfilepath = os.path.expanduser('~/.openerp_serverrc') - self.rcfile = fname or opt.config or os.environ.get('TERP_SERVER') or rcfilepath + self.rcfile = fname or opt.config or os.environ.get('OPENERP_SERVER') or rcfilepath self.load() diff --git a/bin/tools/import_email.py b/bin/tools/import_email.py index e85a90f7ae8..0803c482045 100644 --- a/bin/tools/import_email.py +++ b/bin/tools/import_email.py @@ -110,7 +110,7 @@ class ReceiverEmail2Event(object): self.save_mail(msg, subject, partners) else: warning = MIMEText((warn_msg % (subject,)).encode('utf-8'), 'plain', 'utf-8') - warning['Subject'] = 'Message de TinyERP' + warning['Subject'] = 'Message de OpenERP' warning['From'] = 'erp@steel-sa.com' warning['To'] = msg['From'] s = smtplib.SMTP() diff --git a/bin/tools/misc.py b/bin/tools/misc.py index b08465403fa..dd812d3a473 100644 --- a/bin/tools/misc.py +++ b/bin/tools/misc.py @@ -28,7 +28,7 @@ ############################################################################### """ -Miscelleanous tools used by tiny ERP. +Miscelleanous tools used by OpenERP. """ import os, time, sys @@ -171,7 +171,7 @@ def exec_command_pipe(name, *args): #file_path_addons = os.path.join(file_path_root, 'addons') def file_open(name, mode="r", subdir='addons', pathinfo=False): - """Open a file from the Tiny ERP root, using a subdir folder. + """Open a file from the OpenERP root, using a subdir folder. >>> file_open('hr/report/timesheer.xsl') >>> file_open('addons/hr/report/timesheet.xsl') diff --git a/bin/tools/translate.py b/bin/tools/translate.py index d9d837d4ab8..7a178148d1e 100644 --- a/bin/tools/translate.py +++ b/bin/tools/translate.py @@ -160,7 +160,7 @@ class TinyPoFile(object): % { 'project': release.description, 'version': release.version, 'modules': reduce(lambda s, m: s + "#\t* %s\n" % m, modules, ""), - 'bugmail': 'support@tinyerp.com', #TODO: use variable from release + 'bugmail': 'support@openerp.com', #TODO: use variable from release 'now': mxdt.ISO.strUTC(mxdt.ISO.DateTime.utc()), } ) |
