From 669e253b170e16557562fb83a61cfe4e301e5d7d Mon Sep 17 00:00:00 2001 From: sebalix Date: Wed, 8 Apr 2015 11:43:26 +0200 Subject: [PATCH] [FIX] Module 'auditlog' - Unit tests, do not create users with the 'notify_email' field --- auditlog/tests/test_auditlog.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/auditlog/tests/test_auditlog.py b/auditlog/tests/test_auditlog.py index ae1e7b751..c288184f1 100644 --- a/auditlog/tests/test_auditlog.py +++ b/auditlog/tests/test_auditlog.py @@ -96,9 +96,7 @@ class TestAuditlog(TransactionCase): user = self.env['res.users'].create({ 'name': 'testuser_inheritedfield', 'login': 'testuser.inheritedfield@company.com', - # fields inherited from 'res.partner' - 'lang': 'en_US', - 'notify_email': 'none', + 'lang': 'en_US', # field inherited from 'res.partner' }) self.assertTrue(auditlog_log.search([ ('model_id', '=', users_model_id),