diff --git a/fetchmail_attach_from_folder/model/fetchmail_server.py b/fetchmail_attach_from_folder/model/fetchmail_server.py index 53c9c9821..5e16dcfca 100644 --- a/fetchmail_attach_from_folder/model/fetchmail_server.py +++ b/fetchmail_attach_from_folder/model/fetchmail_server.py @@ -60,6 +60,8 @@ class fetchmail_server(models.Model): for this in self.browse(cr, uid, ids, context): if this.object_id: check_original.append(this.id) + if not this.folder_ids.filtered('active'): + continue context.update( {