[hr_holidays] When department of employee is changed the leave stores old department id
Bug #1090224 reported by
JB (eficent.com)
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
Related branches
lp://staging/~openerp-dev/openobject-addons/trunk-bug-1090224
Ready for review
for merging
into
lp://staging/openobject-addons
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedhr_holidays/hr_holidays.py (+1/-1)
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 |
tags: | added: holidays hr |
To post a comment you must log in.
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