Merge lp:~akretion-team/openobject-addons/trunk-simple-user-to-employee into lp:openobject-addons
Status: | Superseded |
---|---|
Proposed branch: | lp:~akretion-team/openobject-addons/trunk-simple-user-to-employee |
Merge into: | lp:openobject-addons |
Diff against target: |
46 lines (+16/-4) 2 files modified
hr/hr.py (+5/-0) hr/hr_department_view.xml (+11/-4) |
To merge this branch: | bzr merge lp:~akretion-team/openobject-addons/trunk-simple-user-to-employee |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+92932@code.launchpad.net |
This proposal has been superseded by a proposal from 2012-07-10.
Description of the change
In OpenERP 6.0, there was an "address_id" field on res_users, which provided a link from res_users to res_partner_
This address_id field was removed of the "base" module in OpenERP server trunk in revision 3526 (August 2011) cf http://
So, we are not able to access detailed user information (phone numbers, etc...) from the res_users object any more.
After some thoughts, I think that the best solution is to add a link from res_users to hr_employee.
This merge proposal :
- Adds an 'employee_ids' one2many field on res.users ; it is the reverse of the 'user_id' many2one field on hr.employee.
- Add the field to the form view of res.users.
This merge proposal is a much simpler alternative to my other merge proposal https:/
I hope that this very simple merge proposal will be accepted in trunk.
Unmerged revisions
- 6460. By Alexis de Lattre
-
[Merge] with latest addons-trunk.
- 6459. By Alexis de Lattre
-
Add 'employee_ids' one2many field on res.users ; it is the reverse of the 'user_id' many2one field on hr.employee.
Add the field to the form view of res.users.