[6.0.1] HR-category: many2many link defined incorrectly
Bug #731332 reported by
Jeroen Mollers
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
Version: 6.0.1
Module: hr
The many2many link (category_ids) between hr_employee and hr_employee_
The many2many field hr_employee.
fields.
It should be defined as (note the swap of category_id and emp_id):
fields.
The incorrect definition leads to incorrect foreign key constaints on the employee_
Jeroen
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-731332-ara
- OpenERP buildbot (community): Disapprove
- Mustufa Rangwala (Open ERP) (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedhr/hr.py (+1/-1)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
milestone: | none → 6.1 |
To post a comment you must log in.
Hello Jeroen,
I have fixed the problem in lp:~openerp-dev/openobject-addons/trunk-bug-731332-ara branch. It will be merge soon with trunk addons.
Revision ID: <email address hidden>
Revision No: 4504
Thank you,
ara