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)
<separator string="User information" colspan="4"/>
<label string="Please provide here your login on the Tiny ERP website."
align="0.0" colspan="4"/>
- <label string="If you don't have an access, you can create one http://www.tinyerp.com/"
+ <label string="If you don't have an access, you can create one http://www.openerp.com/"
align="0.0" colspan="4"/>
<field name="login"/>
<newline/>
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 ''
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']),
'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]
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):
Make sure you read the publication manual and modules guidlines
before continuing:
- http://www.tinyerp.com/
+ http://www.openerp.com/
Thanks you for contributing!
"""},
<separator string="User information" colspan="4"/>
<label string="Please provide here your login on the Tiny ERP website."
align="0.0" colspan="4"/>
- <label string="If you don't have an access, you can create one http://www.tinyerp.com/"
+ <label string="If you don't have an access, you can create one http://www.openerp.com/"
align="0.0" colspan="4"/>
<field name="login"/>
<newline/>
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)
'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])}