diff --git a/master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/SaleTradeCondition_deleteIfNotNeeded.xml b/master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/SaleTradeCondition_deleteIfNotNeeded.xml index 173decd9539de72aa592045a96745eb8964cd748..2d2b9834dfe07bb5b98dfbefdfa31a88384c26b3 100644 --- a/master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/SaleTradeCondition_deleteIfNotNeeded.xml +++ b/master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/SaleTradeCondition_deleteIfNotNeeded.xml @@ -53,6 +53,7 @@ <value> <string>assert(context.getPortalType() == \'Sale Trade Condition\')\n \n if context.getTitle() == \'ViFiB Custom Conditions\':\n + assert(len(context.getSpecialiseRelatedValueList()) == 0)\n context.getParentValue().deleteContent(id=context.getId())\n </string> </value> </item> diff --git a/master/bt5/vifib_upgrader/bt/revision b/master/bt5/vifib_upgrader/bt/revision index c24b6ae77df02a87472b208f251fad88382a2e55..72f523f36edb05f0f59e02607fd52a844817ed85 100644 --- a/master/bt5/vifib_upgrader/bt/revision +++ b/master/bt5/vifib_upgrader/bt/revision @@ -1 +1 @@ -38 \ No newline at end of file +39 \ No newline at end of file