From 7691a6d5a1b6040b7b8326e68e8cfd1c4b86c8d5 Mon Sep 17 00:00:00 2001 From: sebalix Date: Tue, 9 Apr 2019 12:05:11 +0200 Subject: [PATCH] [MIG] auditlog: Migration to 12.0 --- auditlog/__manifest__.py | 6 +++--- auditlog/models/autovacuum.py | 2 +- auditlog/models/http_request.py | 2 +- auditlog/models/http_session.py | 2 +- auditlog/models/log.py | 2 +- auditlog/models/rule.py | 2 +- auditlog/tests/test_auditlog.py | 8 ++++---- auditlog/tests/test_autovacuum.py | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/auditlog/__manifest__.py b/auditlog/__manifest__.py index ba35fb506..fe357ebce 100644 --- a/auditlog/__manifest__.py +++ b/auditlog/__manifest__.py @@ -1,12 +1,12 @@ -# © 2015 ABF OSIELL +# Copyright 2015 ABF OSIELL # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { 'name': "Audit Log", - 'version': "11.0.1.0.0", + 'version': "12.0.1.0.0", 'author': "ABF OSIELL,Odoo Community Association (OCA)", 'license': "AGPL-3", - 'website': "https://www.osiell.com", + 'website': "https://github.com/OCA/server-tools/", 'category': "Tools", 'depends': [ 'base', diff --git a/auditlog/models/autovacuum.py b/auditlog/models/autovacuum.py index 17505d9fd..b3770ed63 100644 --- a/auditlog/models/autovacuum.py +++ b/auditlog/models/autovacuum.py @@ -1,4 +1,4 @@ -# © 2016 ABF OSIELL +# Copyright 2016 ABF OSIELL # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). import logging from datetime import datetime, timedelta diff --git a/auditlog/models/http_request.py b/auditlog/models/http_request.py index 04ade415e..a1cb5ac40 100644 --- a/auditlog/models/http_request.py +++ b/auditlog/models/http_request.py @@ -1,4 +1,4 @@ -# © 2015 ABF OSIELL +# Copyright 2015 ABF OSIELL # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from psycopg2.extensions import AsIs diff --git a/auditlog/models/http_session.py b/auditlog/models/http_session.py index daccc395e..85e9963e9 100644 --- a/auditlog/models/http_session.py +++ b/auditlog/models/http_session.py @@ -1,4 +1,4 @@ -# © 2015 ABF OSIELL +# Copyright 2015 ABF OSIELL # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from odoo import models, fields, api diff --git a/auditlog/models/log.py b/auditlog/models/log.py index 25b5a02b0..bbab1fc92 100644 --- a/auditlog/models/log.py +++ b/auditlog/models/log.py @@ -1,4 +1,4 @@ -# © 2015 ABF OSIELL +# Copyright 2015 ABF OSIELL # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from odoo import models, fields diff --git a/auditlog/models/rule.py b/auditlog/models/rule.py index 006c9e770..2dd073978 100644 --- a/auditlog/models/rule.py +++ b/auditlog/models/rule.py @@ -1,4 +1,4 @@ -# © 2015 ABF OSIELL +# Copyright 2015 ABF OSIELL # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from odoo import models, fields, api, modules, _ diff --git a/auditlog/tests/test_auditlog.py b/auditlog/tests/test_auditlog.py index 01371192b..996cf5fa1 100644 --- a/auditlog/tests/test_auditlog.py +++ b/auditlog/tests/test_auditlog.py @@ -1,9 +1,9 @@ -# © 2015 Therp BV +# Copyright 2015 Therp BV # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from odoo.tests.common import TransactionCase -class TestAuditlog(object): +class AuditlogCommon(object): def test_LogCreation(self): """First test, caching some data.""" @@ -81,7 +81,7 @@ class TestAuditlog(object): ]).ensure_one()) -class TestAuditlogFull(TransactionCase, TestAuditlog): +class TestAuditlogFull(TransactionCase, AuditlogCommon): def setUp(self): super(TestAuditlogFull, self).setUp() @@ -101,7 +101,7 @@ class TestAuditlogFull(TransactionCase, TestAuditlog): super(TestAuditlogFull, self).tearDown() -class TestAuditlogFast(TransactionCase, TestAuditlog): +class TestAuditlogFast(TransactionCase, AuditlogCommon): def setUp(self): super(TestAuditlogFast, self).setUp() diff --git a/auditlog/tests/test_autovacuum.py b/auditlog/tests/test_autovacuum.py index d621d3cf9..1b6fae60d 100644 --- a/auditlog/tests/test_autovacuum.py +++ b/auditlog/tests/test_autovacuum.py @@ -1,4 +1,4 @@ -# © 2016 ABF OSIELL +# Copyright 2016 ABF OSIELL # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). import time