Commit b53f89c1 authored by Jérome Perrin's avatar Jérome Perrin

pdm: only reset transformed resource when transformed resource is being cloned

... not when parent is.
parent 6f3d8000
context.Base_initIntIndex(*args,**kw)
if item == context:
# When the parent document is being copied, we do not want to reset int index.
context.Base_initIntIndex(*args,**kw)
......@@ -50,7 +50,7 @@
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>*args, **kw</string> </value>
<value> <string>item, *args, **kw</string> </value>
</item>
<item>
<key> <string>guard</string> </key>
......
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