diff --git a/frappe/core/doctype/document_comparator/__init__.py b/frappe/core/doctype/audit_trail/__init__.py similarity index 100% rename from frappe/core/doctype/document_comparator/__init__.py rename to frappe/core/doctype/audit_trail/__init__.py diff --git a/frappe/core/doctype/document_comparator/document_comparator.html b/frappe/core/doctype/audit_trail/audit_trail.html similarity index 100% rename from frappe/core/doctype/document_comparator/document_comparator.html rename to frappe/core/doctype/audit_trail/audit_trail.html diff --git a/frappe/core/doctype/document_comparator/document_comparator.js b/frappe/core/doctype/audit_trail/audit_trail.js similarity index 97% rename from frappe/core/doctype/document_comparator/document_comparator.js rename to frappe/core/doctype/audit_trail/audit_trail.js index ec31200573..173ac86519 100644 --- a/frappe/core/doctype/document_comparator/document_comparator.js +++ b/frappe/core/doctype/audit_trail/audit_trail.js @@ -1,7 +1,7 @@ // Copyright (c) 2023, Frappe Technologies and contributors // For license information, please see license.txt -frappe.ui.form.on("Document Comparator", { +frappe.ui.form.on("Audit Trail", { refresh(frm) { frm.page.clear_indicator(); diff --git a/frappe/core/doctype/document_comparator/document_comparator.json b/frappe/core/doctype/audit_trail/audit_trail.json similarity index 98% rename from frappe/core/doctype/document_comparator/document_comparator.json rename to frappe/core/doctype/audit_trail/audit_trail.json index 821772fae8..8ad5a88c37 100644 --- a/frappe/core/doctype/document_comparator/document_comparator.json +++ b/frappe/core/doctype/audit_trail/audit_trail.json @@ -77,7 +77,7 @@ "modified": "2023-08-22 12:12:59.780845", "modified_by": "Administrator", "module": "Core", - "name": "Document Comparator", + "name": "Audit Trail", "owner": "Administrator", "permissions": [ { diff --git a/frappe/core/doctype/document_comparator/document_comparator.py b/frappe/core/doctype/audit_trail/audit_trail.py similarity index 99% rename from frappe/core/doctype/document_comparator/document_comparator.py rename to frappe/core/doctype/audit_trail/audit_trail.py index e795417b26..b8e4e48b43 100644 --- a/frappe/core/doctype/document_comparator/document_comparator.py +++ b/frappe/core/doctype/audit_trail/audit_trail.py @@ -9,7 +9,7 @@ from frappe.core.doctype.version.version import get_diff from frappe.model.document import Document -class DocumentComparator(Document): +class AuditTrail(Document): # begin: auto-generated types # This code is auto-generated. Do not modify anything in this block. diff --git a/frappe/core/doctype/document_comparator/document_comparator_rows_added_removed.html b/frappe/core/doctype/audit_trail/audit_trail_rows_added_removed.html similarity index 100% rename from frappe/core/doctype/document_comparator/document_comparator_rows_added_removed.html rename to frappe/core/doctype/audit_trail/audit_trail_rows_added_removed.html diff --git a/frappe/core/doctype/document_comparator/test_document_comparator.py b/frappe/core/doctype/audit_trail/test_audit_trail.py similarity index 98% rename from frappe/core/doctype/document_comparator/test_document_comparator.py rename to frappe/core/doctype/audit_trail/test_audit_trail.py index af1f19874b..f977e4500b 100644 --- a/frappe/core/doctype/document_comparator/test_document_comparator.py +++ b/frappe/core/doctype/audit_trail/test_audit_trail.py @@ -5,7 +5,7 @@ import frappe from frappe.tests.utils import FrappeTestCase -class TestDocumentComparator(FrappeTestCase): +class TestAuditTrail(FrappeTestCase): def setUp(self): self.child_doctype = create_custom_child_doctype() self.custom_doctype = create_custom_doctype()