-
-
Notifications
You must be signed in to change notification settings - Fork 675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] hr_employee_firstname: apply same order (lastname, then firstname) #1420
Conversation
Hi @luisg123v, @Savoir-faire Linux, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix commit message. It should be a short title, followed by a blank line, followed by a description. It's currently a very long line.
Shouldn't we reverse the other one instead? |
…me). In all the other views defined in the base module partner_firstname, the order are lastname, firstname. (partner form view, user form view).
4bc1490
to
af11a61
Compare
done.
;-) Well, we have to choose, because it's totally a matter of taste. (in fact, matter of culture. see : https://www.quora.com/What-is-the-correct-order-of-arranging-a-name-last-name-first-or-first-name-first) My PR is not about to change the order, it's just about to fix an inconsistency. we can not provide a form with field A / field B and another form with field B / field A. It's error prone. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Funtional Review LGTM
@luisg123v : could you update your review ? thanks ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
/ocabot merge patch |
On my way to merge this fine PR! |
Congratulations, your PR was merged at bd88b07. Thanks a lot for contributing to OCA. ❤️ |
thanks for your quick review ! |
Trivial PR.
rational :
for the time being, in partner form view and user form view, the fields are displayed with the following order. lastname, then firstname.
However, in the employee form view, the order is reversed.
this PR fixes this inconsistency.
Ref :