Cost Center Name Update Issue

Hi all,

I am trying to rename the “Main” cost center on my new build of ERPNext (13.5.0) but I find that when I add my own cost center number, it duplicates the number in the name text field.

e.g. I rename the “Main” (default) cost center to “Primary”, and I give it the number “GB02/MA101”. I press the “Update” button, and the name becomes “GB02/MA101 - GB02/MA101 - Primary”.

I just want it to say “Primary” in the name field, nothing else. Can anyone help?

Many thanks.

Best Regards

Tom

Hi Tom, I have the same issue (in 2024 – latest).

VPWA — very painful workaround:

LUCKY VARIANT

  1. Use Update Cost Center Name / Number and set Cost Center Name to correct name and Cost Center Number to empty.
  2. Update
  3. Refresh page.
  4. Use Update Cost Center Name / Number again and set Cost Center Number to correct number. → Update

STANDARD VARIANT

  1. Use + Add Cost Center button and set up Cost Center with proper name and number.
  2. Rename Cost Center with Update Cost Center Name / Number and set Cost Center Name to correct name (including number prefix, but not company suffix — IMPORTANT!) and Cost Center Number to empty and Merge with existing to true.
  3. Update

(Might need to try the above several times due to random error messages.)