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();
|
saveEx();
|
||||||
//
|
//
|
||||||
m_audit = new MWFEventAudit(this);
|
m_audit = new MWFEventAudit(this);
|
||||||
|
m_audit.setAD_Org_ID(getAD_Org_ID());//Add by Hideaki Hagiwara
|
||||||
m_audit.saveEx();
|
m_audit.saveEx();
|
||||||
//
|
//
|
||||||
m_process = process;
|
m_process = process;
|
||||||
|
|
|
@ -131,6 +131,7 @@ public class MWFProcess extends X_AD_WF_Process
|
||||||
setProcessed (false);
|
setProcessed (false);
|
||||||
// Lock Entity
|
// Lock Entity
|
||||||
getPO();
|
getPO();
|
||||||
|
setAD_Org_ID(m_po.getAD_Org_ID());//Add by Hideaki Hagiwara
|
||||||
//hengsin: remove lock/unlock which is causing deadlock
|
//hengsin: remove lock/unlock which is causing deadlock
|
||||||
//if (m_po != null)
|
//if (m_po != null)
|
||||||
//m_po.lock();
|
//m_po.lock();
|
||||||
|
|
Loading…
Reference in New Issue