IDEMPIERE-273 Request processor bug escalating

This commit is contained in:
Carlos Ruiz 2012-05-26 11:32:57 -05:00
parent 44b65c5eb5
commit 06703b119b
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ public class RequestProcessor extends AdempiereServer
int supervisor_ID = request.getSalesRep().getSupervisor_ID(); int supervisor_ID = request.getSalesRep().getSupervisor_ID();
if (supervisor_ID == 0 && m_model.getSupervisor_ID() != 0) if (supervisor_ID == 0 && m_model.getSupervisor_ID() != 0)
supervisor_ID = m_model.getSupervisor_ID(); supervisor_ID = m_model.getSupervisor_ID();
if (supervisor_ID != 0 && supervisor_ID != request.getAD_User_ID()) if (supervisor_ID != 0 && supervisor_ID != request.getSalesRep_ID()) // IDEMPIERE-273
supervisor = MUser.get(getCtx(), supervisor_ID); supervisor = MUser.get(getCtx(), supervisor_ID);
// Escalated: Request {0} to {1} // Escalated: Request {0} to {1}