Merge lp:~openerp-dev/openobject-addons/trunk-bug-731332-ara into lp:openobject-addons

Proposed by Ashvin Rathod (OpenERP)
Status: Merged
Merged at revision: 4521
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-731332-ara
Merge into: lp:openobject-addons
Diff against target: 12 lines (+1/-1)
1 file modified
hr/hr.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-731332-ara
Reviewer Review Type Date Requested Status
OpenERP buildbot (community) Disapprove
Mustufa Rangwala (Open ERP) (community) Approve
Review via email: mp+52802@code.launchpad.net

Description of the change

Hello,

Fix: [6.0.1] HR-category: many2many link defined incorrectly
https://bugs.launchpad.net/openobject-addons/+bug/731332

Thanks,
ara

To post a comment you must log in.
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) :
review: Approve
Revision history for this message
OpenERP buildbot (openerp-buildbot) wrote :

mrp/test/mrp_phantom_bom.yml: duplicate key value violates unique constraint "product_uom_factor_category_id_uniq"
stock_no_autopicking/test/stock_no_autopicking.yml: duplicate key value violates unique constraint "product_uom_factor_category_id_uniq"
crm_partner_assign/test/test_crm_partner_assign.yml[warning]: AssertionError in Python code : SMTP not configured !
project_timesheet/test/worktask_entry_to_timesheetline_entry.yml[warning]: Assertion "After hr manager's work task" FAILED test: len(timesheet_ids) > 0 values: ! 0 > 0
~/addons/anonymization/anonymization.py:298[pywarn]: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.

review: Disapprove

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'hr/hr.py'
--- hr/hr.py 2011-03-09 13:14:25 +0000
+++ hr/hr.py 2011-03-10 06:11:55 +0000
@@ -155,7 +155,7 @@
155 'work_location': fields.char('Office Location', size=32),155 'work_location': fields.char('Office Location', size=32),
156 'notes': fields.text('Notes'),156 'notes': fields.text('Notes'),
157 'parent_id': fields.related('department_id', 'manager_id', relation='hr.employee', string='Manager', type='many2one', store=True, select=True, readonly=True, help="It is linked with manager of Department"),157 'parent_id': fields.related('department_id', 'manager_id', relation='hr.employee', string='Manager', type='many2one', store=True, select=True, readonly=True, help="It is linked with manager of Department"),
158 'category_ids': fields.many2many('hr.employee.category', 'employee_category_rel','category_id','emp_id','Category'),158 'category_ids': fields.many2many('hr.employee.category', 'employee_category_rel', 'emp_id', 'category_id', 'Category'),
159 'child_ids': fields.one2many('hr.employee', 'parent_id', 'Subordinates'),159 'child_ids': fields.one2many('hr.employee', 'parent_id', 'Subordinates'),
160 'resource_id': fields.many2one('resource.resource', 'Resource', ondelete='cascade', required=True),160 'resource_id': fields.many2one('resource.resource', 'Resource', ondelete='cascade', required=True),
161 'coach_id': fields.many2one('hr.employee', 'Coach'),161 'coach_id': fields.many2one('hr.employee', 'Coach'),

Subscribers

People subscribed via source and target branches

to all changes: