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

use getProperty, because the accessor might not be defined

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23681 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 83fbb652
......@@ -151,7 +151,7 @@ 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
if related_transaction.getProperty('origin_id') == \'MAJO\':\n
continue\n
\n
# if we have a payment related to multiple invoices, we cannot say the\n
......
773
\ No newline at end of file
774
\ 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