IDEMPIERE-5566 Cross tenant PO writing on AD_System (#1663)
This commit is contained in:
parent
e6c53e9e32
commit
8ff1068184
|
@ -76,7 +76,12 @@ public class MSystem extends X_AD_System
|
|||
//
|
||||
if (!Ini.isClient() && system.setInfo())
|
||||
{
|
||||
system.saveEx();
|
||||
try {
|
||||
PO.setCrossTenantSafe();
|
||||
system.saveEx();
|
||||
} finally {
|
||||
PO.clearCrossTenantSafe();
|
||||
}
|
||||
}
|
||||
s_system.put(0, new MSystem(Env.getCtx(), system));
|
||||
return system;
|
||||
|
|
Loading…
Reference in New Issue