Skip to content

Commit

Permalink
fix(accounts): Allow setting Number of new Cost Center (#40212)
Browse files Browse the repository at this point in the history
  • Loading branch information
cogk authored Mar 6, 2024
1 parent 48da952 commit a93d14b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erpnext/accounts/doctype/cost_center/cost_center.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Cost Center Number",
"read_only": 1
"read_only_depends_on": "eval:!doc.__islocal"
},
{
"fieldname": "parent_cost_center",
Expand Down Expand Up @@ -170,4 +170,4 @@
"sort_field": "modified",
"sort_order": "ASC",
"states": []
}
}

0 comments on commit a93d14b

Please sign in to comment.