summaryrefslogtreecommitdiff
path: root/addons/share/wizard/share_wizard.py
diff options
context:
space:
mode:
authorHarry (OpenERP) <hmo@tinyerp.com>2010-10-27 11:08:19 +0530
committerHarry (OpenERP) <hmo@tinyerp.com>2010-10-27 11:08:19 +0530
commitcbc52ce4586bfc9bf280c3baa4d454c8605e00a0 (patch)
tree124f3d9bfa46387dcbbc6b8255fbdadec9fdc816 /addons/share/wizard/share_wizard.py
parentbbbcdbdbdbf76cfcecac5450d577ff17ab3fa18c (diff)
parent15e29993bac22d4bd15457bdf78ec89071cab3a3 (diff)
[MERGE] merged from openobject-addons branch
bzr revid: hmo@tinyerp.com-20101027053819-if1wltlbyizl4n5r
Diffstat (limited to 'addons/share/wizard/share_wizard.py')
-rw-r--r--addons/share/wizard/share_wizard.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/share/wizard/share_wizard.py b/addons/share/wizard/share_wizard.py
index 2d1fd252ecf..9349980933f 100644
--- a/addons/share/wizard/share_wizard.py
+++ b/addons/share/wizard/share_wizard.py
@@ -290,7 +290,7 @@ class share_create(osv.osv_memory):
user_obj = self.pool.get('res.users')
result_obj = self.pool.get('share.wizard.result.line')
share_root_url = wizard_data.share_root_url
- format_url = '%(login)' in share_root_url and '%(password)' in share_root_url
+ format_url = '%(login)s' in share_root_url and '%(password)s' in share_root_url
existing_passwd_str = _('*usual password*')
if wizard_data.user_type == 'new':
for email in wizard_data.new_users.split('\n'):
@@ -430,7 +430,7 @@ class share_create(osv.osv_memory):
else:
body += _("This additional data has been automatically added to your current access.\n")
body += _("You may use your existing login and password to view it. As a reminder, your login is %s.\n") % result_line.login
-
+
if not tools.email_send(
user.user_email,
email_to,