-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create single doctype for comparator
(cherry picked from commit 513f74f)
- Loading branch information
1 parent
cdc16ab
commit 5acecf1
Showing
3 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
63 changes: 63 additions & 0 deletions
63
frappe/core/doctype/document_comparator/document_comparator.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"actions": [], | ||
"creation": "2023-08-14 13:06:24.520160", | ||
"default_view": "List", | ||
"doctype": "DocType", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"doctype_name", | ||
"column_break_peck", | ||
"document", | ||
"section_break_gppi", | ||
"version_table" | ||
], | ||
"fields": [ | ||
{ | ||
"fieldname": "doctype_name", | ||
"fieldtype": "Link", | ||
"label": "Doctype", | ||
"options": "DocType" | ||
}, | ||
{ | ||
"fieldname": "document", | ||
"fieldtype": "Dynamic Link", | ||
"label": "Document", | ||
"options": "doctype_name" | ||
}, | ||
{ | ||
"fieldname": "column_break_peck", | ||
"fieldtype": "Column Break" | ||
}, | ||
{ | ||
"fieldname": "section_break_gppi", | ||
"fieldtype": "Section Break" | ||
}, | ||
{ | ||
"fieldname": "version_table", | ||
"fieldtype": "HTML", | ||
"label": "version_table" | ||
} | ||
], | ||
"hide_toolbar": 1, | ||
"index_web_pages_for_search": 1, | ||
"issingle": 1, | ||
"links": [], | ||
"modified": "2023-08-14 14:08:19.031748", | ||
"modified_by": "Administrator", | ||
"module": "Core", | ||
"name": "Document Comparator", | ||
"owner": "Administrator", | ||
"permissions": [ | ||
{ | ||
"email": 1, | ||
"print": 1, | ||
"read": 1, | ||
"role": "System Manager", | ||
"share": 1 | ||
} | ||
], | ||
"sort_field": "modified", | ||
"sort_order": "DESC", | ||
"states": [] | ||
} |
9 changes: 9 additions & 0 deletions
9
frappe/core/doctype/document_comparator/test_document_comparator.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Copyright (c) 2023, Frappe Technologies and Contributors | ||
# See license.txt | ||
|
||
# import frappe | ||
from frappe.tests.utils import FrappeTestCase | ||
|
||
|
||
class TestDocumentComparator(FrappeTestCase): | ||
pass |