ERPNext Conference 2019* ERPNext.com Blog

Change Last name and First name positions


#1

Hello people, just realized something big. In our country it goes as “Last name” and “First name”. I’ve easily changed the positions in Employee DocType, but the Full name is section is still showing “fist name, last name”.

I know I can easily just rename those fields for an easy solution but am I missing a feature or a setting to change the positions…?

Thanks guys.


#2

The full name is set via this function:

Changing the field positions is not going to help. You can edit the function so the last name is set first.


#3

Thank you so much!!! Cheers!


#4

It worked for me as well, just a simple question.
Once we did bench update for example, i think the tweak will be replaced by update. Right?


#5

I suggest you write a custom script for this. So that bench update will not undo the changes.