diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doAction.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doAction.xml index c2c3cdcf5c644f5e018c52ad4d84ca3505205e02..26e25adfaf88ce44cc7dc2fb5c608ca0007d557c 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doAction.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doAction.xml @@ -84,11 +84,9 @@ if doAction0 in (\'object\', \'workflow\', \'folder\'):\n kw[\'dialog_category\'] = \'object_action\'\n # Otherwise, check if this is an automatic menu (add)\n elif doAction0 == \'add\':\n - new_id = context.generateNewId()\n type_name = \' \'.join(Base_doAction[1:])\n new_content = context.newContent(portal_type=type_name,\n - container=context,\n - id=str(new_id))\n + container=context)\n preserved_parameters[\'portal_status_message\'] = Base_translateString("Object created.")\n preserved_parameters[\'editable_mode\'] = 1\n redirect_url = \'%s/view\' % (new_content.absolute_url(), )\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 707001d7afbd0346d3562587d5adaedf1499bd90..61600586722136b9b61d27b677ff56404c3db199 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -927 \ No newline at end of file +928