[FIX] portal: fix removeuser from portal
bzr revid: sbh@tinyerp.com-20120607102217-h39bm8h5x5xvfhw9
This commit is contained in:
parent
962baf6728
commit
ec16f04a8d
|
@ -200,7 +200,7 @@ class wizard(osv.osv_memory):
|
|||
portal_obj.write(cr, ROOT_UID, [wiz.portal_id.id],
|
||||
{'users': [(6, 0, add_users)]}, context0)
|
||||
if removeuser :
|
||||
portal_obj.write(cr, ROOT_UID, [wiz.portal_id.id], {'users': [(3, removeuser[0])]}, context0)
|
||||
portal_obj.write(cr, ROOT_UID, [wiz.portal_id.id], {'users': [(3,0, removeuser)]}, context0)
|
||||
data = {
|
||||
'company': user.company_id.name,
|
||||
'message': wiz.message or "",
|
||||
|
|
Loading…
Reference in New Issue