[FIX] share: login value and dbname key (typo) in the codepath handling sharing to existing users

bzr revid: xmo@openerp.com-20101123215242-glqx7ooqi6eadyhy
This commit is contained in:
Xavier Morel
2010-11-23 22:52:42 +01:00
parent 6ff627d275
commit 78ca098cf7
+2 -2
View File
@@ -311,9 +311,9 @@ class share_create(osv.osv_memory):
# existing users
for user in wizard_data.user_ids:
share_url = share_root_url % \
{'login': email,
{'login': user.user_id.login,
'password': '',
'dbame': cr.dbname} if format_url else share_root_url
'dbname': cr.dbname} if format_url else share_root_url
result_obj.create(cr, uid, {
'share_wizard_id': wizard_data.id,
'login': user.user_id.login,