Commit 804bc63b authored by Kevin Deldycke's avatar Kevin Deldycke

Don't copy id when create a reversal transaction.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7620 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2ba193ab
...@@ -14,7 +14,9 @@ ...@@ -14,7 +14,9 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>Python_magic</string> </key> <key> <string>Python_magic</string> </key>
<value> <string encoding="base64">O/INCg==</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>Script_magic</string> </key> <key> <string>Script_magic</string> </key>
...@@ -90,7 +92,6 @@ reversal = accounting_module.newContent (\n ...@@ -90,7 +92,6 @@ reversal = accounting_module.newContent (\n
\n \n
for line in context.objectValues(portal_type = context.getPortalAccountingMovementTypeList()) : \n for line in context.objectValues(portal_type = context.getPortalAccountingMovementTypeList()) : \n
reversal.newContent(\n reversal.newContent(\n
id = line.getId(),\n
portal_type = line.getPortalType(),\n portal_type = line.getPortalType(),\n
source = line.getSource(),\n source = line.getSource(),\n
destination = line.getDestination(),\n destination = line.getDestination(),\n
......
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