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 @@
<item>
<key> <string>_body</string> </key>
<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>
</item>
<item>
......@@ -92,6 +95,8 @@
<tuple>
<string>_getattr_</string>
<string>context</string>
<string>list</string>
<string>dict</string>
</tuple>
</value>
</item>
......
425
\ No newline at end of file
427
\ 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