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

Since r32713 we count sections differently

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34064 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d63b3223
......@@ -77,11 +77,11 @@ else:\n
min_payment_count = 1\n
\n
if context.getSourceSection() and context.getDestinationSection():\n
min_section_count = 3\n
min_section_count = 2\n
else:\n
# if we have no mirror_section on the transaction but a mirror_section on\n
# a line, we have to show the column\n
min_section_count = 2\n
min_section_count = 1\n
\n
multiple_sections = len(section_dict) > min_section_count\n
multiple_payment = len(payment_dict) > min_payment_count\n
......
1146
\ No newline at end of file
1147
\ 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