From 4f2944b64cb51f0d4ef950b6b73b25cccbb8b91a Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Sun, 16 Dec 2012 03:06:04 +0100 Subject: [PATCH] [FIX] share minimal fix bzr revid: al@openerp.com-20121216020604-d0cxbr75wad5g7tg --- addons/share/wizard/share_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/share/wizard/share_wizard.py b/addons/share/wizard/share_wizard.py index 1f0230b4c7b..327efb9b9d8 100644 --- a/addons/share/wizard/share_wizard.py +++ b/addons/share/wizard/share_wizard.py @@ -69,7 +69,7 @@ class share_wizard(osv.TransientModel): return False return group_id in self.pool.get('res.users').read(cr, uid, uid, ['groups_id'], context=context)['groups_id'] - def has_share(self, cr, uid, context=None): + def has_share(self, cr, uid, unused_param, context=None): return self.has_group(cr, uid, module='share', group_xml_id='group_share_user', context=context) def _user_type_selection(self, cr, uid, context=None):