Commit 35afaede authored by Rafael Monnerat's avatar Rafael Monnerat

Updated Planning Box Configuration and Scripts

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16596 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fc44c3d7
...@@ -4,4 +4,7 @@ ...@@ -4,4 +4,7 @@
<item>bar_category</item> <item>bar_category</item>
<item>foo_category</item> <item>foo_category</item>
</portal_type> </portal_type>
<portal_type id="Foo Line">
<item>foo_category</item>
</portal_type>
</base_category_list> </base_category_list>
\ No newline at end of file
...@@ -70,9 +70,10 @@ ...@@ -70,9 +70,10 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string># This script is used initially by PlanningBox tests currently\n <value> <string># This script is used initially by PlanningBox tests currently\n
for i in context.searchFolder():\n for i in context.searchFolder():\n
i.edit(start_date=DateTime(DateTime().strftime("%Y/%m/%d"))+0.4,\n i.setStartDate(DateTime(DateTime().strftime("%Y/%m/%d"))+0.4)\n
stop_date=DateTime(DateTime().strftime("%Y/%m/%d"))+0.8)\n i.setStopDate(DateTime(DateTime().strftime("%Y/%m/%d"))+0.8)\n
i.newContent(id = str(0), title = \'Title 4\', portal_type=\'Foo Line\' )\n i.newContent(id = str(0), title = \'Title 4\', portal_type=\'Foo Line\' )\n
i.setFooCategory(\'foo_category/a\')\n
\n \n
return \'Modified Successfully.\'\n return \'Modified Successfully.\'\n
</string> </value> </string> </value>
......
...@@ -510,7 +510,12 @@ ...@@ -510,7 +510,12 @@
<item> <item>
<key> <string>portal_types</string> </key> <key> <string>portal_types</string> </key>
<value> <value>
<list/> <list>
<tuple>
<string>Foo Line</string>
<string>Foo Line</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -521,6 +526,10 @@ ...@@ -521,6 +526,10 @@
<string>parent</string> <string>parent</string>
<string>parent</string> <string>parent</string>
</tuple> </tuple>
<tuple>
<string>foo_domain</string>
<string>foo_domain</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
......
214 218
\ No newline at end of file \ No newline at end of file
Foo Line | foo_category
Foo | bar_category Foo | bar_category
Foo | foo_big_category Foo | foo_big_category
Foo | foo_category Foo | foo_category
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment