message_list.append('Transformation change is invalidated but related target transformation %s is still validated'%target_transformation.getRelativeUrl())
else:
portal.portal_workflow.doActionFor(
target_transformation,
'invalidate_action',
comment="Related transformation change %s is invalidated"%transformation_change.getRelativeUrl())
message_list.append('Related target transformation %s of %s is invalidated'%(target_transformation.getRelativeUrl(),template_transformation.getReference()))
else:
portal.portal_workflow.doActionFor(
target_transformation,
'validate_action',
comment="Related transformation change %s is validated"%transformation_change.getRelativeUrl())
message_list.append("Transformation %s 's valid from %s is not equal to %s"%(target_transformation.getRelativeUrl(),target_transformation.getEffectiveDate(),change_management.getStartDateRangeMin()))
message_list.append("Transformation %s 's valid until %s is not equal to %s"%(target_transformation.getRelativeUrl(),target_transformation.getExpirationDate(),change_management.getStartDateRangeMax()))
<value><string>python: (\'cell\' in CONTEXTS and cell.getResource()) and cell.getResourceValue().getQuantityUnitList() and [(\'\', \'\')] + [(x.getTranslatedLogicalPath(), x.getCategoryRelativeUrl(base=0)) for x in cell.getResourceValue().getQuantityUnitValueList()] or getattr(here.portal_categories[\'quantity_unit\'], preferences.getPreference(\'preferred_category_child_item_list_method_id\', \'getCategoryChildCompactLogicalPathItemList\'))(base=0, local_sort_id=(\'int_index\', \'translated_title\'), checked_permission=\'View\')</string></value>