IDEMPIERE-4152 : Payment Allocation : notify user when date changes - peer review
This commit is contained in:
parent
940d33bc66
commit
39d9c68895
|
@ -708,7 +708,7 @@ public class WAllocation extends Allocation
|
||||||
// Set AllocationDate
|
// Set AllocationDate
|
||||||
if (allocDate != null) {
|
if (allocDate != null) {
|
||||||
if (! allocDate.equals(dateField.getValue())) {
|
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);
|
dateField.setValue(allocDate);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue