diff --git a/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/DeliveryLine_createItemList.xml b/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/DeliveryLine_createItemList.xml index e20ab3b6a0f56c5f31eb4ffeb98ca7db833de33e..f0bb6fcf9f0741b582553513cd7c8a855574f835 100644 --- a/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/DeliveryLine_createItemList.xml +++ b/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/DeliveryLine_createItemList.xml @@ -70,9 +70,11 @@ context.setVariationCategoryList([])\n base_id = \'movement\'\n for line in kw.get(\'listbox\'):\n if line.has_key(\'listbox_key\') and line[\'quantity\'] in (\'\',None):\n - msg = translateString(\'Please Define Quantity for Item Defined On Line %s\'%line[\'listbox_key\'], mapping = kw)\n + msg = translateString("Please Define Quantity for Item Defined On Line ${line_id}",\n + mapping={\'line_id\': line[\'listbox_key\']})\n return context.Base_redirect(form_id, keep_items=dict(\n portal_status_message=msg))\n +\n if line.has_key(\'listbox_key\') and (line[\'title\'] or line[\'reference\'] not in (\'\', None)):\n module = context.getDefaultModule(type)\n item = module.newContent(portal_type=type,\n diff --git a/bt5/erp5_item/bt/revision b/bt5/erp5_item/bt/revision index 6d3e9dc78d4961c7934c3a850541613398863921..b9c6c007cc10d619b2d858dcc4ae12ba790b52a2 100644 --- a/bt5/erp5_item/bt/revision +++ b/bt5/erp5_item/bt/revision @@ -1 +1 @@ -129 \ No newline at end of file +131 \ No newline at end of file