* Restore compatibility with compiere plugins
This commit is contained in:
parent
044def8767
commit
d834fdccae
|
@ -203,10 +203,16 @@ public class MTable extends X_AD_Table
|
||||||
return clazz;
|
return clazz;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Default Extension
|
// Adempiere Extension
|
||||||
Class clazz = getPOclass("adempiere.model.X_" + tableName);
|
Class clazz = getPOclass("adempiere.model.X_" + tableName);
|
||||||
if (clazz != null)
|
if (clazz != null)
|
||||||
return clazz;
|
return clazz;
|
||||||
|
|
||||||
|
//hengsin - allow compatibility with compiere plugins
|
||||||
|
//Compiere Extension
|
||||||
|
clazz = getPOclass("compiere.model.X_" + tableName);
|
||||||
|
if (clazz != null)
|
||||||
|
return clazz;
|
||||||
|
|
||||||
// Default
|
// Default
|
||||||
clazz = getPOclass("org.compiere.model.X_" + tableName);
|
clazz = getPOclass("org.compiere.model.X_" + tableName);
|
||||||
|
|
Loading…
Reference in New Issue