Merge lp:~therp-nl/openupgrade-addons/6.0-lp1023798-do_not_rename_hr_employee__parent_id into lp:openupgrade-addons/6.0
Proposed by
Stefan Rijnhart (Opener)
Status: | Merged |
---|---|
Merged at revision: | 4785 |
Proposed branch: | lp:~therp-nl/openupgrade-addons/6.0-lp1023798-do_not_rename_hr_employee__parent_id |
Merge into: | lp:openupgrade-addons/6.0 |
Diff against target: |
50 lines (+13/-1) 3 files modified
hr/migrations/6.0.1.1/post-migration.py (+10/-0) hr/migrations/6.0.1.1/pre-migration.py (+1/-1) hr/migrations/6.0.1.1/user_notes.txt (+2/-0) |
To merge this branch: | bzr merge lp:~therp-nl/openupgrade-addons/6.0-lp1023798-do_not_rename_hr_employee__parent_id |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Don Kirkby (community) | Approve | ||
OpenUpgrade Committers | Pending | ||
Review via email: mp+115698@code.launchpad.net |
Description of the change
This branch restores the manually assigned employees' managers. I could not simply *not* rename the table, as other changes require the department_id to be written on the employee record. This triggers that the department_id's head is written as the manager on the employee record due to it being a stored related field (a change that was reverted in OpenERP 6.1 which warrants restoring the manager field this way in the first place).
To post a comment you must log in.
Looks good, thanks for the fix.