Wizard to change the lines' state worked only on one line

This commit is contained in:
Guewen Baconnier
2015-01-13 13:38:51 +01:00
parent 82676874fc
commit 88bb1ebf81

View File

@@ -34,7 +34,7 @@ class CreditControlMarker(models.TransientModel):
context.get('active_ids')):
return False
line_obj = self.env['credit.control.line']
lines = line_obj.browse(context['active_id'])
lines = line_obj.browse(context['active_ids'])
return self._filter_lines(lines)
name = fields.Selection([('ignored', 'Ignored'),