IDEMPIERE-1673 In new state of record. click to print and export throws exception
This commit is contained in:
parent
08e42a0149
commit
e31bf2c561
|
@ -1584,7 +1584,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
adTabbox.evaluate(e);
|
adTabbox.evaluate(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
toolbar.enablePrint(adTabbox.getSelectedGridTab().isPrinted());
|
toolbar.enablePrint(adTabbox.getSelectedGridTab().isPrinted() && !adTabbox.getSelectedGridTab().isNew());
|
||||||
toolbar.enableReport(true);
|
toolbar.enableReport(true);
|
||||||
toolbar.enableExport(!adTabbox.getSelectedGridTab().isSortTab());
|
toolbar.enableExport(!adTabbox.getSelectedGridTab().isSortTab());
|
||||||
toolbar.enableFileImport(!changed && !adTabbox.getSelectedGridTab().isSortTab() && adTabbox.getSelectedGridTab().isInsertRecord());
|
toolbar.enableFileImport(!changed && !adTabbox.getSelectedGridTab().isSortTab() && adTabbox.getSelectedGridTab().isInsertRecord());
|
||||||
|
|
Loading…
Reference in New Issue