--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/6ab21d66-2a41-4410-8bca-336c556b8bc9n%40googlegroups.com.
public class WSearchEditorTgi extends WSearchEditor
{
public WSearchEditorTgi(GridField gridField) {
super(gridField);
if (gridField != null) {
if (gridField.getGridTab() != null) {
// List all necessary tables
if (gridField.getGridTab().getAD_Table_ID() == MXXADossier.Table_ID)
multipleSelection = false;
if (gridField.getGridTab().getAD_Table_ID() == MInvoice.Table_ID)
multipleSelection = false;
// And / Or ?
if (gridField.getGridTab().getTabLevel() == 0) // TODO need to be tested
; // multipleSelection = false;
}
else if (gridField.getAD_Process_ID_Of_Panel() > 0) {
multipleSelection = false;
}
else if (gridField.getAD_InfoWindow_ID_of_Panel() > 0) {
multipleSelection = false;
}
}
}
}
else if (displayType == DisplayType.Search) {
editor = new WSearchEditorTgi(gridField);
}