IDEMPIERE-127 Implement Recent Items dashboard
http://jira.idempiere.com/browse/IDEMPIERE-127 error trying to save when no new record saved (as pushing find on an empty new record)
This commit is contained in:
parent
47ec4aa29b
commit
714e17635b
|
@ -1564,6 +1564,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
|||
|
||||
if (wasChanged) {
|
||||
if (newRecord) {
|
||||
if (curTab.getRecord_ID() > 0) {
|
||||
if (curTabIndex == 0) {
|
||||
MRecentItem.addModifiedField(ctx, curTab.getAD_Table_ID(),
|
||||
curTab.getRecord_ID(), Env.getAD_User_ID(ctx),
|
||||
|
@ -1579,6 +1580,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
|||
mainTab.getAD_Tab_ID());
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (curTabIndex == 0) {
|
||||
MRecentItem.touchUpdatedRecord(ctx, curTab.getAD_Table_ID(),
|
||||
|
|
Loading…
Reference in New Issue