diff --git a/mass_editing/wizard/mass_editing_wizard.py b/mass_editing/wizard/mass_editing_wizard.py index 8746d0617..910aa4791 100644 --- a/mass_editing/wizard/mass_editing_wizard.py +++ b/mass_editing/wizard/mass_editing_wizard.py @@ -117,7 +117,7 @@ class mass_editing_wizard(osv.osv_memory): m2m_list.append((4, m2m_id)) model_vals[model_field] = m2m_list if model_vals: - model_obj.write(cr, uid, context.get('active_ids'), model_vals, context) + model_obj.write(cr, uid, context['active_ids'], model_vals, context) result = super(mass_editing_wizard, self).create(cr, uid, {}, context) return result