Skip to content

Commit

Permalink
fix: Defined "Open" Status as default (backport #36421) (#36424)
Browse files Browse the repository at this point in the history
fix: Defined "Open" Status as default (#36421)

Defined "Open" Status as default of the child doctype (Quality Review Objective), because without it the main doctype (Quality Review) has "Passed" status.
This happens because in the "set_status" function, the status is updated according to the status of the child records.

(cherry picked from commit 652398f)

Co-authored-by: xdlumertz <alexandrelumertz@gmail.com>
  • Loading branch information
mergify[bot] and AlexandreLumertz authored Jul 31, 2023
1 parent 29ddd26 commit 33a9477
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"fieldtype": "Column Break"
},
{
"default": "Open",
"columns": 2,
"fieldname": "status",
"fieldtype": "Select",
Expand All @@ -67,7 +68,7 @@
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2020-10-27 16:28:20.908637",
"modified": "2023-07-31 09:20:20.908637",
"modified_by": "Administrator",
"module": "Quality Management",
"name": "Quality Review Objective",
Expand All @@ -76,4 +77,4 @@
"sort_field": "modified",
"sort_order": "DESC",
"track_changes": 1
}
}

0 comments on commit 33a9477

Please sign in to comment.