openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #26700
[Bug 1249478] [NEW] hr_evaluation does not repect sequence when more than one phase is in wait
Public bug reported:
Creating lets say 3 hr_evaluation_phases in an evaluation plan and
setting the button two to wait will cause any evaluation created from
that plan to jump to the phase right at the buttom once the first phase
is completed rather than going to the next one.
I investigated and in openerp/addons/hr_evaluation/hr_evaluation.py
line 324, waiting_id is simply being reassigned and ends up being the
value of the last id which passes through the loop. Since the phase ids
are sorted in asc order by the sequence, it ends up being the phase in a
waiting state which the greaters sequences.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1249478
Title:
hr_evaluation does not repect sequence when more than one phase is in
wait
Status in OpenERP Addons (modules):
New
Bug description:
Creating lets say 3 hr_evaluation_phases in an evaluation plan and
setting the button two to wait will cause any evaluation created from
that plan to jump to the phase right at the buttom once the first
phase is completed rather than going to the next one.
I investigated and in openerp/addons/hr_evaluation/hr_evaluation.py
line 324, waiting_id is simply being reassigned and ends up being the
value of the last id which passes through the loop. Since the phase
ids are sorted in asc order by the sequence, it ends up being the
phase in a waiting state which the greaters sequences.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1249478/+subscriptions
Follow ups
References