IDEMPIERE-4152 : Payment Allocation : notify user when date changes - peer review

This commit is contained in:
Carlos Ruiz 2020-01-21 15:49:14 +01:00
parent 940d33bc66
commit 39d9c68895
1 changed files with 1 additions and 1 deletions

View File

@ -708,7 +708,7 @@ public class WAllocation extends Allocation
// Set AllocationDate
if (allocDate != null) {
if (! allocDate.equals(dateField.getValue())) {
Clients.showNotification(Msg.getMsg(Env.getCtx(), "AllocationDateUpdated"), Clients.NOTIFICATION_TYPE_INFO, dateField.getComponent(), "start_before", -1, true);
Clients.showNotification(Msg.getMsg(Env.getCtx(), "AllocationDateUpdated"), Clients.NOTIFICATION_TYPE_INFO, dateField.getComponent(), "start_before", -1, false);
dateField.setValue(allocDate);
}
}