Skip to content
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

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

legalsylvain
Copy link

@legalsylvain legalsylvain commented Dec 17, 2024

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 :

@OCA-git-bot
Copy link
Contributor

Hi @luisg123v, @Savoir-faire Linux,
some modules you are maintaining are being modified, check this out!

Copy link
Contributor

@luisg123v luisg123v left a 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.

@luisg123v
Copy link
Contributor

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).
@legalsylvain legalsylvain force-pushed the 16.0-IMP-hr_employee_firstname branch from 4bc1490 to af11a61 Compare December 17, 2024 22:11
@legalsylvain
Copy link
Author

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.

done.

Shouldn't we reverse the other one instead?

;-)

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.

Copy link

@HeliconiaSolutions HeliconiaSolutions left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Funtional Review LGTM

@legalsylvain
Copy link
Author

@luisg123v : could you update your review ?

thanks !

Copy link
Contributor

@luisg123v luisg123v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@luisg123v
Copy link
Contributor

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-1420-by-luisg123v-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit dd04d6e into OCA:16.0 Dec 19, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at bd88b07. Thanks a lot for contributing to OCA. ❤️

@legalsylvain
Copy link
Author

thanks for your quick review !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants