diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/DeliveryLine_asCellRange.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/DeliveryLine_asCellRange.xml index af8605ae6c73b135bb73a67d270f9afbd669f89d..3a0d86dcf94dda9106174af94d88cd8b65ee3dfb 100644 --- a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/DeliveryLine_asCellRange.xml +++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/DeliveryLine_asCellRange.xml @@ -63,11 +63,9 @@ if resource is not None:\n for base_category in base_category_list:\n if matrixbox == 1:\n # XXX matrixbox is right_display (not as listfield) => invert display and value in item\n - cell_range.append( map(lambda x: (x[1],x[0]), context.getVariationCategoryItemList(base_category_list = (base_category,) ) ) )\n + cell_range.extend( map(lambda x: (x[1],x[0]), context.getVariationCategoryItemList(base_category_list = (base_category,) ) ) )\n else:\n - cell_range.append( context.getVariationCategoryList(base_category_list = (base_category,) ) )\n -\n - cell_range = filter(lambda x: x != [], cell_range )\n + cell_range.extend( context.getVariationCategoryList(base_category_list = (base_category,) ) )\n \n return cell_range\n @@ -120,7 +118,6 @@ return cell_range\n <string>_getiter_</string> <string>base_category</string> <string>map</string> - <string>filter</string> </tuple> </value> </item> diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision index 8800cb9cad74255c7f83630c4e220740e8ce981f..49681e713921e527665cb201bf3d24e7bace2cfb 100644 --- a/bt5/erp5_trade/bt/revision +++ b/bt5/erp5_trade/bt/revision @@ -1 +1 @@ -864 \ No newline at end of file +865 \ No newline at end of file