IDEMPIERE-3736 We can edit completed Document under specific condition.
This commit is contained in:
parent
a293cb6a05
commit
31e1dead2c
|
@ -104,11 +104,12 @@ public class GridTable extends AbstractTableModel
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -4651516342985623070L;
|
||||
private static final long serialVersionUID = -1022887214226173483L;
|
||||
|
||||
public static final String DATA_REFRESH_MESSAGE = "Refreshed";
|
||||
public static final String DATA_UPDATE_COPIED_MESSAGE = "UpdateCopied";
|
||||
public static final String DATA_INSERTED_MESSAGE = "Inserted";
|
||||
public static final String DATA_IGNORED_MESSAGE = "Ignored";
|
||||
|
||||
/**
|
||||
* JDBC Based Buffered Table
|
||||
|
@ -2858,7 +2859,7 @@ public class GridTable extends AbstractTableModel
|
|||
// fireTableRowsUpdated(m_rowChanged, m_rowChanged); >> messes up display?? (clearSelection)
|
||||
}
|
||||
m_newRow = -1;
|
||||
fireDataStatusIEvent("Ignored", "");
|
||||
fireDataStatusIEvent(DATA_IGNORED_MESSAGE, "");
|
||||
} // dataIgnore
|
||||
|
||||
|
||||
|
|
|
@ -807,7 +807,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
|||
@Override
|
||||
public void onCallback(Boolean result) {
|
||||
if (result) {
|
||||
adTabbox.getSelectedGridTab().navigate(0);
|
||||
adTabbox.getSelectedGridTab().navigate(-1); // not zero because of IDEMPIERE-3736
|
||||
focusToActivePanel();
|
||||
}
|
||||
}
|
||||
|
@ -1398,6 +1398,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
|||
|| GridTab.DEFAULT_STATUS_MESSAGE.equals(adInfo)
|
||||
|| GridTable.DATA_REFRESH_MESSAGE.equals(adInfo)
|
||||
|| GridTable.DATA_INSERTED_MESSAGE.equals(adInfo)
|
||||
|| GridTable.DATA_IGNORED_MESSAGE.equals(adInfo)
|
||||
|| GridTable.DATA_UPDATE_COPIED_MESSAGE.equals(adInfo)
|
||||
) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue