summaryrefslogtreecommitdiff
path: root/addons/share/wizard/share_wizard.py
diff options
context:
space:
mode:
authorCedric Snauwaert <csn@openerp.com>2013-03-04 11:53:44 +0100
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>2013-03-04 11:53:44 +0100
commit0e20990f1e7919d14482ed07358d8a0f3fba819c (patch)
tree07ddfba6879c4c74939a7e4a29fb4c064d2c4b5a /addons/share/wizard/share_wizard.py
parent0165ff819d00692f71651273991bf6ce02661c68 (diff)
[FIX]share wizard: missing an argument in a function call
bzr revid: csn@openerp.com-20130304105344-f2nnx7udejvelfw9
Diffstat (limited to 'addons/share/wizard/share_wizard.py')
-rw-r--r--addons/share/wizard/share_wizard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/share/wizard/share_wizard.py b/addons/share/wizard/share_wizard.py
index aae13f66882..e0a9b5858cd 100644
--- a/addons/share/wizard/share_wizard.py
+++ b/addons/share/wizard/share_wizard.py
@@ -660,7 +660,7 @@ class share_wizard(osv.TransientModel):
self._assert(wizard_data.action_id and wizard_data.access_mode,
_('Action and Access Mode are required to create a shared access.'),
context=context)
- self._assert(self.has_share(cr, uid, context=context),
+ self._assert(self.has_share(cr, uid, wizard_data, context=context),
_('You must be a member of the Share/User group to use the share wizard.'),
context=context)
if wizard_data.user_type == 'emails':