9602d366923a0953a7038a3f7461bb3844839b3a
1 ##parameters=criterion_ids=[], **kw
4 for cid
in criterion_ids
:
5 context
.deleteCriterion(cid
)
6 if len(criterion_ids
) > 1 :
7 return context
.setStatus(True, 'Criteria deleted.')
9 return context
.setStatus(True, 'Criterion deleted.')
11 return context
.setStatus(False, 'Please select one ore more criteria first.')