Repository navigation
[20.0][MIG] hr_employee_age: Migration to 20.0 - #1677
Open
mcastillol14 wants to merge 32 commits into
Open
mcastillol14 wants to merge 32 commits into
mcastillol14 wants to merge 32 commits into
Conversation
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: hr-12.0/hr-12.0-hr_employee_age Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_employee_age/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: hr-16.0/hr-16.0-hr_employee_age Translate-URL: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_employee_age/
…ording to birthday field definition TT43046
|
The following commit authors need to sign the Contributor License Agreement: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migration of
hr_employee_agefrom 19.0 to 20.0, keeping the module history.Changes:
div_km_home_workis not inhr_birth_groupanymore).ageis now placed afterbirthday_public_display, in the "Personal Information" group.hr.employee.age(same type, group and compute as this module had), so the model is removed and the module only keeps the view that shows the age on the employee form. Happy to keep the model if reviewers prefer.hr.employee_admin); they create their own employee. Added cases for before the birthday, without birthday and the field in the form.6 tests passing on a fresh 20.0 database without demo data. The form was also checked in the browser: the field shows after "Show Birthday To Employees", recalculates when the birthday changes, and users without
hr.group_hr_userdo not get it.Migration issue: #1628.