summaryrefslogtreecommitdiff
path: root/addons/mail/static/scripts
diff options
context:
space:
mode:
authorrlu-odoo <rlu@tinyerp.com>2014-07-09 17:09:38 +0530
committerRichard Mathot <rim@openerp.com>2014-07-18 13:45:41 +0200
commit8b67a7202d9dd3492001cade3d361b8a5424ec3f (patch)
tree5f21000fbb475fc309f343460f03f4feeec121e8 /addons/mail/static/scripts
parent1f5d135e44ee35f5aad18177052162d1672faccb (diff)
[REF] OpenERP --> Odoo in various UI texts
Rebranding has been done in: - data/demo files - html templates - help notices - comments - logger messages - and other various messages (Commit taken from odoo-dev:8.0-improve-openerp-odoo-rlu at rev 7deaa08) Closes #1260
Diffstat (limited to 'addons/mail/static/scripts')
-rwxr-xr-xaddons/mail/static/scripts/openerp_mailgate.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/addons/mail/static/scripts/openerp_mailgate.py b/addons/mail/static/scripts/openerp_mailgate.py
index e3dbdf4adc0..601dc483dfc 100755
--- a/addons/mail/static/scripts/openerp_mailgate.py
+++ b/addons/mail/static/scripts/openerp_mailgate.py
@@ -120,13 +120,13 @@ def configure_parser():
parser = optparse.OptionParser(usage='usage: %prog [options]', version='%prog v1.1')
group = optparse.OptionGroup(parser, "Note",
"This program parse a mail from standard input and communicate "
- "with the OpenERP server for case management in the CRM module.")
+ "with the Odoo server for case management in the CRM module.")
parser.add_option_group(group)
parser.add_option("-u", "--user", dest="userid",
- help="OpenERP user id to connect with",
+ help="Odoo user id to connect with",
default=config.OPENERP_DEFAULT_USER_ID, type='int')
parser.add_option("-p", "--password", dest="password",
- help="OpenERP user password",
+ help="Odoo user password",
default=config.OPENERP_DEFAULT_PASSWORD)
parser.add_option("-o", "--model", dest="model",
help="Name or ID of destination model",
@@ -135,13 +135,13 @@ def configure_parser():
help="Admin email for error notifications.",
default=None)
parser.add_option("-d", "--dbname", dest="dbname",
- help="OpenERP database name (default: %default)",
+ help="Odoo database name (default: %default)",
default=config.OPENERP_DEFAULT_DATABASE)
parser.add_option("--host", dest="host",
- help="OpenERP Server hostname",
+ help="Odoo Server hostname",
default=config.OPENERP_HOSTNAME)
parser.add_option("--port", dest="port",
- help="OpenERP Server XML-RPC port number",
+ help="Odoo Server XML-RPC port number",
default=config.OPENERP_PORT)
parser.add_option("--custom-values", dest="custom_values",
help="Dictionary of extra values to pass when creating records",
@@ -187,13 +187,13 @@ def main():
'%s' % (cgitb.text(sys.exc_info())),
])
- subject = '[OPENERP]:ERROR: Mailgateway - %s' % time.strftime('%Y-%m-%d %H:%M:%S')
+ subject = '[Odoo]:ERROR: Mailgateway - %s' % time.strftime('%Y-%m-%d %H:%M:%S')
send_mail(
config.MAIL_ERROR,
config.MAIL_ADMINS,
subject, msg, files=[('message.txt', msg_txt)]
)
- sys.stderr.write("Failed to deliver email to OpenERP Server, sending error notification to %s\n" % config.MAIL_ADMINS)
+ sys.stderr.write("Failed to deliver email to Odoo Server, sending error notification to %s\n" % config.MAIL_ADMINS)
if __name__ == '__main__':
main()