diff --git a/auditlog/README.rst b/auditlog/README.rst index 18d6231b5..de0cbe5d8 100644 --- a/auditlog/README.rst +++ b/auditlog/README.rst @@ -12,13 +12,13 @@ models such as ``create``, ``read``, ``write`` and ``delete``. Usage ===== -Go to `Reporting / Audit / Rules` to subscribe rules. A rule defines which -operations to log for a given data model: +Go to `Settings / Technical / Audit / Rules` to subscribe rules. A rule defines +which operations to log for a given data model. .. image:: /auditlog/static/description/rule.png -Then, check logs in the `Reporting / Audit / Logs` menu. You can group them by -user sessions, date, data model or HTTP requests: +Then, check logs in the `Settings / Technical / Audit / Logs` menu. You can +group them by user sessions, date, data model or HTTP requests: .. image:: /auditlog/static/description/logs.png @@ -60,6 +60,7 @@ Contributors * Sebastien Alix * Holger Brunn +* Holden Rehg Images ------ diff --git a/auditlog/__manifest__.py b/auditlog/__manifest__.py index 223f23e79..af2972832 100644 --- a/auditlog/__manifest__.py +++ b/auditlog/__manifest__.py @@ -4,7 +4,7 @@ { 'name': "Audit Log", - 'version': "8.0.1.3.0", + 'version': "9.0.1.0.0", 'author': "ABF OSIELL,Odoo Community Association (OCA)", 'license': "AGPL-3", 'website': "http://www.osiell.com", @@ -20,6 +20,6 @@ 'views/http_request_view.xml', ], 'application': True, - 'installable': False, + 'installable': True, 'pre_init_hook': 'pre_init_hook', } diff --git a/auditlog/migrations/8.0.1.0/pre-migration.py b/auditlog/migrations/8.0.1.0/pre-migration.py index 9cd91bfb8..3255a9270 100644 --- a/auditlog/migrations/8.0.1.0/pre-migration.py +++ b/auditlog/migrations/8.0.1.0/pre-migration.py @@ -4,6 +4,6 @@ from openerp.addons.auditlog import migrate_from_audittrail -def migrate(cr, version): +def migrate(cr): """if we migrate from an older version, it's a migration from audittrail""" migrate_from_audittrail(cr) diff --git a/auditlog/models/rule.py b/auditlog/models/rule.py index bf5d05c62..8e0b01abf 100644 --- a/auditlog/models/rule.py +++ b/auditlog/models/rule.py @@ -352,7 +352,7 @@ class AuditlogRule(models.Model): def create_logs(self, uid, res_model, res_ids, method, old_values=None, new_values=None, additional_log_values=None): - """Create logs. `old_values` and `new_values` are dictionnaries, e.g: + """Create logs. `old_values` and `new_values` are dictionaries, e.g: {RES_ID: {'FIELD': VALUE, ...}} """ if old_values is None: diff --git a/auditlog/views/auditlog_view.xml b/auditlog/views/auditlog_view.xml index 0e5b5345b..aa7bf354b 100644 --- a/auditlog/views/auditlog_view.xml +++ b/auditlog/views/auditlog_view.xml @@ -3,7 +3,7 @@ @@ -34,15 +34,8 @@ - - - @@ -60,8 +53,6 @@ - -