Commit 085e56ef authored by Jérome Perrin's avatar Jérome Perrin

ad hoc case: ignore related transactions with "MAJO" origin ID

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23678 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 57f3ec8b
......@@ -9,22 +9,10 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
......@@ -163,6 +151,8 @@ related_transaction_list = context.getCausalityRelatedValueList(\n
for related_transaction in related_transaction_list:\n
if related_transaction.getSimulationState() not in simulation_state:\n
continue\n
if related_transaction.getOriginId() == \'MAJO\':\n
continue\n
\n
# if we have a payment related to multiple invoices, we cannot say the\n
# remaining price on those invoices.\n
......@@ -241,18 +231,6 @@ else:\n
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>detailed=0, at_date=None, account_id=None, simulation_state=None, mirror_section_relative_url=None</string> </value>
......
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