diff --git a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/QuantityUnitConversionModule_getUniversalDefinitionDict.xml b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/QuantityUnitConversionModule_getUniversalDefinitionDict.xml index ef444c1258feea89a192c01aa262f12780f59fd5..6399267b968a00676691d85f7a9f1d46df1b3766 100644 --- a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/QuantityUnitConversionModule_getUniversalDefinitionDict.xml +++ b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/QuantityUnitConversionModule_getUniversalDefinitionDict.xml @@ -56,13 +56,12 @@ <value> <string>def getUniversalQuantityUnitDefinitionDict():\n \n kw = dict(portal_type="Quantity Unit Conversion Definition",\n - grand_parent_portal_type="Quantity Unit Conversion Module")\n + grand_parent_portal_type="Quantity Unit Conversion Module",\n + validation_state="validated")\n \n result = {}\n for definition in context.portal_catalog(**kw):\n definition = definition.getObject()\n - if definition.getValidationState() != "validated":\n - continue\n \n definition_group = definition.getParentValue()\n if definition_group.getValidationState() != "validated":\n diff --git a/bt5/erp5_pdm/bt/revision b/bt5/erp5_pdm/bt/revision index 2be0b3c11ab56ecbc93730fd3378815e83b6476a..8f6e44195d544b665eb2312151c731f247cc9f6e 100644 --- a/bt5/erp5_pdm/bt/revision +++ b/bt5/erp5_pdm/bt/revision @@ -1 +1 @@ -442 \ No newline at end of file +443 \ No newline at end of file