Commit 1d1eedbd authored by Jérome Perrin's avatar Jérome Perrin

Don't make check if the third party is member of the group, but is a Person

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17372 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ae4be841
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<string>Products.PythonScripts.PythonScript</string> <tuple/>
<string>PythonScript</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -96,8 +93,9 @@ if source_section is not None and destination_section is not None:\n ...@@ -96,8 +93,9 @@ if source_section is not None and destination_section is not None:\n
destination_section_group = destination_section\\\n destination_section_group = destination_section\\\n
.getGroup(\'\').lstrip(\'group/\').split(\'/\')\n .getGroup(\'\').lstrip(\'group/\').split(\'/\')\n
if destination_section_group and source_section_group and \\\n if destination_section_group and source_section_group and \\\n
destination_section_group[0] == source_section_group[0]:\n destination_section_group[0] == source_section_group[0] \\\n
check_for_destination = 1\n and destination_section.getPortalType() != \'Person\':\n
check_for_destination = 1\n
\n \n
source_sum = 0\n source_sum = 0\n
destination_sum = 0\n destination_sum = 0\n
...@@ -321,6 +319,7 @@ transaction.AccountingTransaction_deleteEmptyLines(redirect=0)\n ...@@ -321,6 +319,7 @@ transaction.AccountingTransaction_deleteEmptyLines(redirect=0)\n
<string>transaction_line</string> <string>transaction_line</string>
<string>source_quantity</string> <string>source_quantity</string>
<string>destination_quantity</string> <string>destination_quantity</string>
<string>_inplacevar_</string>
<string>side</string> <string>side</string>
<string>account</string> <string>account</string>
<string>payment</string> <string>payment</string>
......
479 481
\ No newline at end of file \ 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