[FIX] share: correct default value

bzr revid: chs@openerp.com-20111007153719-2lq8ntxom3y8g2xj
This commit is contained in:
Christophe Simonis
2011-10-07 17:37:19 +02:00
parent 4bee5d20fa
commit dca92e2cc1
+1 -1
View File
@@ -134,7 +134,7 @@ class share_wizard(osv.osv_memory):
'message': fields.text("Personal Message", help="An optional personal message, to be included in the e-mail notification."),
}
_defaults = {
'user_type' : 'new',
'user_type' : 'emails',
'domain': lambda self, cr, uid, context, *a: context.get('domain', '[]'),
'share_root_url': lambda self, cr, uid, context, *a: context.get('share_root_url') or _('Please specify "share_root_url" in context'),
'action_id': lambda self, cr, uid, context, *a: context.get('action_id'),