diff --git a/addons/base_module_publish/wizard/base_module_publish.py b/addons/base_module_publish/wizard/base_module_publish.py
index 75a6faca1d5..f5c36e88b5f 100644
--- a/addons/base_module_publish/wizard/base_module_publish.py
+++ b/addons/base_module_publish/wizard/base_module_publish.py
@@ -49,14 +49,14 @@ module or update an existing one (new version).
Make sure you read the publication manual and modules guidelines
before continuing:
- http://www.tinyerp.com
+ http://www.openerp.com
Thank you for contributing!
"""},
}
def _get_selection(self, cr, uid, datas, *args):
- a = urllib.urlopen('http://www.tinyerp.com/mtree_interface.php')
+ a = urllib.urlopen('http://www.openerp.com/mtree_interface.php')
contents = a.read()
content = filter(None, contents.split('\n'))
result = map(lambda x:x.split('='), content)
@@ -129,7 +129,7 @@ upload_info_form = '''
-
@@ -141,7 +141,7 @@ upload_info_form = '''
def _get_edit(self, cr, uid, datas, *args):
pool = pooler.get_pool(cr.dbname)
name = pool.get('ir.module.module').read(cr, uid, [datas['id']], ['name'])[0]['name']
- a = urllib.urlopen('http://www.tinyerp.com/mtree_interface.php?module=%s' % (name,))
+ a = urllib.urlopen('http://www.openerp.com/mtree_interface.php?module=%s' % (name,))
content = a.read()
try:
email = self.pool.get('res.users').browse(cr, uid, uid).address.email or ''
@@ -228,8 +228,8 @@ def _upload(self, cr, uid, datas, context):
if not download:
res = module_zip.createzip(cr, uid, datas['id'], context,
b64enc=False, src=datas['form']['include_src'])
- download = 'http://www.tinyerp.com/download/modules/'+res['module_filename']
- result = post_multipart('www.tinyerp.com', '/mtree_upload.php',
+ download = 'http://www.openerp.com/download/modules/'+res['module_filename']
+ result = post_multipart('www.openerp.com', '/mtree_upload.php',
[
('login',datas['form']['login']),
('password',datas['form']['password']),
@@ -268,7 +268,7 @@ def _upload(self, cr, uid, datas, context):
'auto_password': datas['form']['password']
}
name = mod.name
- a = urllib.urlopen('http://www.tinyerp.com/mtree_interface.php?module=%s' % (name,))
+ a = urllib.urlopen('http://www.openerp.com/mtree_interface.php?module=%s' % (name,))
aa = a.read()
if aa[0]<>'0':
updata['link_id']=aa.split('\n')[0]
@@ -278,7 +278,7 @@ def _upload(self, cr, uid, datas, context):
if datas['form']['image']:
files.append(('link_image', 'link_image.png',
base64.decodestring(datas['form']['image'])))
- result = post_multipart('www.tinyerp.com', '/index.php', updata.items(), files)
+ result = post_multipart('www.openerp.com', '/index.php', updata.items(), files)
return {'result': result}
def module_check(self, cr, uid, data, context):
diff --git a/addons/base_module_publish/wizard/base_module_publish_all.py b/addons/base_module_publish/wizard/base_module_publish_all.py
index 7e2987818bf..db821818e19 100644
--- a/addons/base_module_publish/wizard/base_module_publish_all.py
+++ b/addons/base_module_publish/wizard/base_module_publish_all.py
@@ -46,7 +46,7 @@ module (new version).
Make sure you read the publication manual and modules guidlines
before continuing:
- http://www.tinyerp.com/
+ http://www.openerp.com/
Thanks you for contributing!
"""},
@@ -57,7 +57,7 @@ login_form = '''
-
@@ -98,8 +98,8 @@ def _upload(self, cr, uid, datas, context):
continue
res = module_zip.createzip(cr, uid, mod.id, context, b64enc=False,
src=(mod.license in ('GPL-2')))
- download = 'http://www.tinyerp.com/download/modules/'+res['module_filename']
- result = post_multipart('www.tinyerp.com', '/mtree_upload.php',
+ download = 'http://www.openerp.com/download/modules/'+res['module_filename']
+ result = post_multipart('www.openerp.com', '/mtree_upload.php',
[('login', datas['form']['login']),
('password', datas['form']['password']),
('module_name', mod.name)
@@ -131,13 +131,13 @@ def _upload(self, cr, uid, datas, context):
'auto_login': datas['form']['login'],
'auto_password': datas['form']['password']
}
- a = urlopen('http://www.tinyerp.com/mtree_interface.php?module=%s' % (mod.name,))
+ a = urlopen('http://www.openerp.com/mtree_interface.php?module=%s' % (mod.name,))
aa = a.read()
if aa[0]<>'0':
updata['link_id']=aa.split('\n')[0]
updata['cat_id']=aa.split('\n')[1]
updata['option'] = 'mtree'
- result = post_multipart('www.tinyerp.com', '/index.php', updata.items(), [])
+ result = post_multipart('www.openerp.com', '/index.php', updata.items(), [])
return {'update': '\n'.join(log[0]), 'already': '\n'.join(log[1]),
'error': '\n'.join(log[2])}