Commit d34e2dab authored by Sebastien Robin's avatar Sebastien Robin

specify the tag for reindex in the activate_kw parameter in BankingOperationLine_index

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13694 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent acb52c7c
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
......@@ -66,10 +66,13 @@
<item>
<key> <string>_body</string> </key>
<value> <string># Reindex the given line with a tag so it can be found in the message table.\n
activate_kw = {}\n
if source:\n
line.reindexObject(tag=context.BankAccount_getMessageTag(line.getSourcePaymentValue()))\n
activate_kw[\'tag\'] = context.BankAccount_getMessageTag(line.getSourcePaymentValue())\n
line.reindexObject(activate_kw=activate_kw)\n
else:\n
line.reindexObject(tag=context.BankAccount_getMessageTag(line.getDestinationPaymentValue()))\n
activate_kw[\'tag\'] = context.BankAccount_getMessageTag(line.getDestinationPaymentValue())\n
line.reindexObject(activate_kw=activate_kw)\n
</string> </value>
</item>
<item>
......@@ -120,8 +123,10 @@ else:\n
<tuple>
<string>line</string>
<string>source</string>
<string>activate_kw</string>
<string>_getattr_</string>
<string>context</string>
<string>_write_</string>
</tuple>
</value>
</item>
......
175
\ No newline at end of file
177
\ 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