Skip to content

Commit

Permalink
fix(Medication Request): Update default value for status field
Browse files Browse the repository at this point in the history
  • Loading branch information
Abel Gonzalez authored and Sajinsr committed Aug 12, 2024
1 parent 02d70d3 commit 0382ae3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
},
{
"allow_on_submit": 1,
"default": "Draft",
"default": "draft-Medication Request Status",
"depends_on": "eval:!doc.__islocal",
"fieldname": "status",
"fieldtype": "Link",
Expand Down Expand Up @@ -463,7 +463,7 @@
"index_web_pages_for_search": 1,
"is_submittable": 1,
"links": [],
"modified": "2024-02-13 12:58:48.827434",
"modified": "2024-05-08 10:12:52.606084",
"modified_by": "Administrator",
"module": "Healthcare",
"name": "Medication Request",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def set_title(self):

def before_insert(self):
self.calculate_total_dispensable_quantity()
self.status = "draft-Medication Request Status"

if self.amended_from:
frappe.db.set_value(
Expand Down

0 comments on commit 0382ae3

Please sign in to comment.