diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_makeTemplateFromDocument.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_makeTemplateFromDocument.xml index 345c702c530b48ea2bdc56c76997ab769419d887..e90bc9ce4e30a59edcab8d4d0ed217f4075ae2b8 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_makeTemplateFromDocument.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_makeTemplateFromDocument.xml @@ -78,7 +78,7 @@ for existing_template in preference.contentValues(\n parent = context.getParentValue()\n document_id = context.getId()\n cp = parent.manage_copyObjects(ids=[document_id])\n -paste_info, = preference.manage_pasteObjects(cb_copy_data=cp)\n +paste_info, = preference.manage_pasteObjects(cb_copy_data=cp, is_indexable=False)\n \n template = getattr(preference, paste_info[\'new_id\'])\n template.makeTemplate()\n @@ -138,6 +138,7 @@ return context.Base_redirect(form_id,\n <string>parent</string> <string>document_id</string> <string>cp</string> + <string>False</string> <string>paste_info</string> <string>getattr</string> <string>_getitem_</string> diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index 3498ce2150f0b30ed680ad486596b20d91be160c..c15dd12d69f7caff3b0eac8d4eac0728afe921cd 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -1587 \ No newline at end of file +1588 \ No newline at end of file