diff --git a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/SupplyCell_asPredicate.xml b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/SupplyCell_asPredicate.xml index facf4fb1f94d8e9dfe20402a51b58254974f5199..172132010a6a6872cb2d36ce4aef8aaa5d09944a 100644 --- a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/SupplyCell_asPredicate.xml +++ b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/SupplyCell_asPredicate.xml @@ -71,6 +71,10 @@ if context.getSourceSection():\n base_category_tuple += (\'source_section\',)\n if context.getDestinationSection():\n base_category_tuple += (\'destination_section\',)\n +if context.getSource():\n + base_category_tuple += (\'source\',)\n +if context.getDestination():\n + base_category_tuple += (\'destination\',)\n \n #backwards compatibility\n mapped_value_property_list = context.getMappedValuePropertyList()\n diff --git a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/SupplyLine_asPredicate.xml b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/SupplyLine_asPredicate.xml index bf822b8d44874906a3d56161d5650b4047451308..01b852eca79419d2240b5a7d58035fe87363c0c7 100644 --- a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/SupplyLine_asPredicate.xml +++ b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/SupplyLine_asPredicate.xml @@ -72,6 +72,11 @@ if context.getSourceSection():\n if context.getDestinationSection():\n base_category_tuple += (\'destination_section\',)\n \n +if context.getSource():\n + base_category_tuple += (\'source\',)\n +if context.getDestination():\n + base_category_tuple += (\'destination\',)\n +\n #backwards compatibility\n mapped_value_property_list = context.getMappedValuePropertyList()\n if not \'priced_quantity\' in mapped_value_property_list:\n diff --git a/bt5/erp5_pdm/bt/revision b/bt5/erp5_pdm/bt/revision index 8bc94cb760413754f1d334f731fb0318bd2cc365..6610e117a35d94836d6a459d7e963a2333541531 100644 --- a/bt5/erp5_pdm/bt/revision +++ b/bt5/erp5_pdm/bt/revision @@ -1 +1 @@ -276 \ No newline at end of file +277 \ No newline at end of file