IDEMPIERE-1804 Org of WF Process is Default(login) Organization. (#195)
Workflow org Co-authored-by: Hideaki Hagiwara <hagiwara.hideaki@gmail.com>
This commit is contained in:
parent
a143e63128
commit
600d8efc70
|
@ -202,6 +202,7 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable
|
|||
saveEx();
|
||||
//
|
||||
m_audit = new MWFEventAudit(this);
|
||||
m_audit.setAD_Org_ID(getAD_Org_ID());//Add by Hideaki Hagiwara
|
||||
m_audit.saveEx();
|
||||
//
|
||||
m_process = process;
|
||||
|
|
|
@ -131,6 +131,7 @@ public class MWFProcess extends X_AD_WF_Process
|
|||
setProcessed (false);
|
||||
// Lock Entity
|
||||
getPO();
|
||||
setAD_Org_ID(m_po.getAD_Org_ID());//Add by Hideaki Hagiwara
|
||||
//hengsin: remove lock/unlock which is causing deadlock
|
||||
//if (m_po != null)
|
||||
//m_po.lock();
|
||||
|
|
Loading…
Reference in New Issue