Skip to content

Commit

Permalink
fix: removed the output field from the console log (#21600) (#21854)
Browse files Browse the repository at this point in the history
(cherry picked from commit 84c5e55)

Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
  • Loading branch information
mergify[bot] and rohitwaghchaure committed Jul 30, 2023
1 parent a8091bb commit 1995035
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
13 changes: 4 additions & 9 deletions frappe/desk/doctype/console_log/console_log.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
"script",
"output"
"script"
],
"fields": [
{
Expand All @@ -16,20 +15,15 @@
"in_list_view": 1,
"label": "Script",
"read_only": 1
},
{
"fieldname": "output",
"fieldtype": "Code",
"label": "Output",
"read_only": 1
}
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2020-08-18 20:07:57.587344",
"modified": "2023-07-05 22:16:02.823955",
"modified_by": "Administrator",
"module": "Desk",
"name": "Console Log",
"naming_rule": "Expression",
"owner": "Administrator",
"permissions": [
{
Expand All @@ -48,5 +42,6 @@
"quick_entry": 1,
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}
2 changes: 1 addition & 1 deletion frappe/desk/doctype/system_console/system_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def run(self):
else:
frappe.db.rollback()

frappe.get_doc(dict(doctype="Console Log", script=self.console, output=self.output)).insert()
frappe.get_doc(dict(doctype="Console Log", script=self.console)).insert()
frappe.db.commit()


Expand Down

0 comments on commit 1995035

Please sign in to comment.