Commit 1a6de7aa authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_mrp_quality_assurance: remove unwanted checked_permission before catalog call on listbox

parent 3ec24520
......@@ -3,6 +3,7 @@ kw['portal_type'] = 'Quality Control'
kw['validation_state'] = 'posted'
kw['strict_causality_uid'] = context.getUid()
kw["strict_publication_section_uid"] = context.portal_categories.publication_section.quality_insurance.getUid()
# remove to avoid catalog warning
kw.pop("checked_permission", None)
return [x for x in context.portal_catalog(**kw) if x.getValidationState() == 'posted']
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