Commit 4e10d7d6 authored by Jérome Perrin's avatar Jérome Perrin

web: use setEmptyCriterionValid accessor directly

The accessor was added in 99cd5823 (erp5_property_sheets: Add
Predicate/empty_criterion_valid_property ., 2013-11-20) it's been
long enough to assume that every site have this property now.
parent 0349a2b6
# List no document until at least one Criterion is created. # List no document until at least one Criterion is created.
# BBB: property does not exist on old property sheets context.setEmptyCriterionValid(False)
getattr(context, 'setEmptyCriterionValid', lambda _: None)(False)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment