From 69e82c5ccdc63e6e2b01e704507576da9cf54889 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Mon, 1 Oct 2007 15:24:27 +0000 Subject: [PATCH] Default Task Line should not be created by the init script but by the accessors. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16752 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../SkinTemplateItem/portal_skins/erp5_project/Task_init.xml | 5 +---- bt5/erp5_project/bt/revision | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Task_init.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Task_init.xml index ef1ac387f6..955670cda5 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Task_init.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Task_init.xml @@ -68,7 +68,7 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>default_task_line = context.newContent(portal_type = "Task Line", id="default_task_line")\n + <value> <string>pass\n </string> </value> </item> <item> @@ -112,9 +112,6 @@ <value> <tuple> <string>kw</string> - <string>_getattr_</string> - <string>context</string> - <string>default_task_line</string> </tuple> </value> </item> diff --git a/bt5/erp5_project/bt/revision b/bt5/erp5_project/bt/revision index e26ed8de06..0e92c3c0fc 100644 --- a/bt5/erp5_project/bt/revision +++ b/bt5/erp5_project/bt/revision @@ -1 +1 @@ -305 \ No newline at end of file +306 \ No newline at end of file -- 2.30.9