Commit af9d79f6 authored by Nicolas Delaby's avatar Nicolas Delaby

Use TypeBasedMethod to delete Bug Lines after cloning a bug

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25016 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dd011128
...@@ -54,6 +54,9 @@ ...@@ -54,6 +54,9 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>context.Bug_init()\n <value> <string>context.Bug_init()\n
#Remove Bug Lines\n
context.manage_delObjects(list(context.contentIds(\n
filter=dict(portal_type=\'Bug Line\'))))\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -92,6 +95,8 @@ ...@@ -92,6 +95,8 @@
<tuple> <tuple>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>list</string>
<string>dict</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
425 427
\ No newline at end of file \ 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