ItEr52S04ValidacionEProbasFuncionaisItEr51S04: [Bug #405] Fixed not allowing remove calculated advances.

This commit is contained in:
Manuel Rego Casasnovas 2010-03-22 11:17:36 +01:00 committed by Javier Moran Rua
parent 4b6166e005
commit 7fe11da2cf

View file

@ -554,6 +554,12 @@ public class ManageOrderElementAdvancesController extends
}
});
if (advance instanceof IndirectAdvanceAssignment) {
removeButton.setDisabled(true);
removeButton
.setTooltiptext(_("Calculated advances can not be removed"));
}
Listcell listCell = new Listcell();
listCell.appendChild(removeButton);
listItem.appendChild(listCell);