From 88bb1ebf81dbe2534e385f928361ebb4cbfa0243 Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Tue, 13 Jan 2015 13:38:51 +0100 Subject: [PATCH] Wizard to change the lines' state worked only on one line --- account_credit_control/wizard/credit_control_marker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_credit_control/wizard/credit_control_marker.py b/account_credit_control/wizard/credit_control_marker.py index 558b0c755..516c4febc 100644 --- a/account_credit_control/wizard/credit_control_marker.py +++ b/account_credit_control/wizard/credit_control_marker.py @@ -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'),