IDEMPIERE-2675 Adding custom table support in Tree / fix error reported in forums - Initial Client Setup broken

This commit is contained in:
Carlos Ruiz 2015-08-11 07:33:04 -05:00
parent e285d5124e
commit 13af00a840
1 changed files with 7 additions and 1 deletions

View File

@ -362,7 +362,13 @@ public class MClient extends X_AD_Client
success = tree.save(); success = tree.save();
AD_Tree_Activity_ID = tree.getAD_Tree_ID(); AD_Tree_Activity_ID = tree.getAD_Tree_ID();
} }
else if (value.equals(X_AD_Tree.TREETYPE_Menu)) // No Menu else if ( value.equals(X_AD_Tree.TREETYPE_Menu) // No Menu
|| value.equals(X_AD_Tree.TREETYPE_Table) // No Custom Table
|| value.equals(X_AD_Tree.TREETYPE_User1) // No custom user trees
|| value.equals(X_AD_Tree.TREETYPE_User2)
|| value.equals(X_AD_Tree.TREETYPE_User3)
|| value.equals(X_AD_Tree.TREETYPE_User4)
)
success = true; success = true;
else // PC (Product Category), BB (BOM) else // PC (Product Category), BB (BOM)
{ {