[Bug #1142] Fix returning false when needed in beforeDeleting method
FEA: ItEr75S04BugFixing
This commit is contained in:
parent
89e65eaede
commit
dec78eb9f7
1 changed files with 1 additions and 0 deletions
|
|
@ -540,6 +540,7 @@ public class MachineCRUDController extends BaseCRUDController<Machine> {
|
|||
.showMessage(
|
||||
Level.WARNING,
|
||||
_("This machine cannot be deleted because it has assignments to projects or imputed hours"));
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue