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.')