Fix [1853611] - Wrong behavior adding in trees
https://sourceforge.net/tracker/index.php?func=detail&aid=1853611&group_id=176962&atid=879332
This commit is contained in:
parent
7fafd4a0b0
commit
32c4363316
|
@ -150,7 +150,9 @@ public class MOrg extends X_AD_Org
|
|||
info.saveEx();
|
||||
// Access
|
||||
MRoleOrgAccess.createForOrg (this);
|
||||
MRole.getDefault(getCtx(), true); // reload
|
||||
MRole role = MRole.getDefault(getCtx(), true); // reload
|
||||
role.set_TrxName(get_TrxName());
|
||||
role.loadAccess(true); // reload org access within transaction
|
||||
// TreeNode
|
||||
insert_Tree(MTree_Base.TREETYPE_Organization);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue