[FIX] res_users: fix wrong index when parsing m2m commands

This commit is contained in:
Raphael Collet 2015-08-05 13:12:02 +02:00
parent 91417516ae
commit 9699f510e4
1 changed files with 1 additions and 1 deletions

View File

@ -706,7 +706,7 @@ def parse_m2m(commands):
for command in commands:
if isinstance(command, (tuple, list)):
if command[0] in (1, 4):
ids.append(command[2])
ids.append(command[1])
elif command[0] == 5:
ids = []
elif command[0] == 6: