summaryrefslogtreecommitdiff
path: root/addons/share/wizard/share_wizard.py
diff options
context:
space:
mode:
authorDenis Ledoux <dle@openerp.com>2013-09-30 17:08:04 +0200
committerDenis Ledoux <dle@openerp.com>2013-09-30 17:08:04 +0200
commita9158e59933ece66923ac5a6dde66a6e2ccc8bb0 (patch)
tree09e0b9914664f5c0e762df929251d47f632715b2 /addons/share/wizard/share_wizard.py
parent861c9b9e7095d82cbd65e75ee438573783bf707e (diff)
parent5be6edcec8e8b0d10537596147f06383d806ba5c (diff)
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9487 rev-id: dle@openerp.com-20130930141202-ghnujem348kydd2m
bzr revid: dle@openerp.com-20130930150804-b4j080uy06t4n7f1
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 478b34f5af6..cf561105b63 100644
--- a/addons/share/wizard/share_wizard.py
+++ b/addons/share/wizard/share_wizard.py
@@ -151,9 +151,9 @@ class share_wizard(osv.TransientModel):
result = dict.fromkeys(ids, '')
for this in self.browse(cr, uid, ids, context=context):
if this.result_line_ids:
- ctx = dict(context, share_url_template_hash_arguments=['action_id'])
+ ctx = dict(context, share_url_template_hash_arguments=['action'])
user = this.result_line_ids[0]
- data = dict(dbname=cr.dbname, login=user.login, password=user.password, action_id=this.action_id.id)
+ data = dict(dbname=cr.dbname, login=user.login, password=user.password, action=this.action_id.id)
result[this.id] = this.share_url_template(context=ctx) % data
return result