Opravena chyba v zakládání požadavků- pokud se zakládal požadavek, který
by překročil limit a následně se upravila částka, aby šel uložit, došlo k rozjetí pořadí schvalovatelů. refs #137
This commit is contained in:
+1
-1
@@ -56,7 +56,6 @@ public abstract class RequirementBaseServiceImpl<T extends RequirementBase> exte
|
|||||||
}
|
}
|
||||||
|
|
||||||
entity.setWorkgroup(reqWorkgroup);
|
entity.setWorkgroup(reqWorkgroup);
|
||||||
this.addWorkflow(entity);
|
|
||||||
|
|
||||||
checkEnable();
|
checkEnable();
|
||||||
|
|
||||||
@@ -64,6 +63,7 @@ public abstract class RequirementBaseServiceImpl<T extends RequirementBase> exte
|
|||||||
throw new AddRequirementException();
|
throw new AddRequirementException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.addWorkflow(entity);
|
||||||
entity.setNumser(this.getNumberSerie());
|
entity.setNumser(this.getNumberSerie());
|
||||||
|
|
||||||
super.add(entity);
|
super.add(entity);
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</hbox>
|
</hbox>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
<hbox vflex="1">
|
<hbox vflex="1" hflex="1">
|
||||||
<groupbox
|
<groupbox
|
||||||
vflex="1"
|
vflex="1"
|
||||||
hflex="1"
|
hflex="1"
|
||||||
|
|||||||
Reference in New Issue
Block a user