[hr_holidays] When department of employee is changed the leave stores old department id

Bug #1090224 reported by JB (eficent.com)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Low
OpenERP R&D Addons Team 3

Bug Description

When department of employee is changed, in case that a leave was created for the same already, the id of the old departament id remains assigned to the leave, although on the screen the new deparent is shown.

This is solved by chaning the properties of the field 'department_id' store=False in the object "leave".

Regards,
JB

Tags: holidays hr

Related branches

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Changed in openobject-addons:
status: Confirmed → In Progress
Changed in openobject-addons:
status: In Progress → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Dharmang Soni (OpenERP) (dpr-openerp) wrote :

Hello,

It has been fixed into https://code.launchpad.net/~openerp-community/openobject-addons/trunk-bug-1090224
branch with following

Revision ID: <email address hidden>
Revision No:8545

it will be merged soon in trunk.

Thanks

Changed in openobject-addons:
status: In Progress → Fix Committed
tags: added: holidays hr
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.