Commit d086f5f9 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* count number of unique mirror sections only in preparing listbox column list.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32713 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4e047ccc
......@@ -64,10 +64,12 @@ The same for apply for payment / payment_reference.\n
section_dict = {None: 1}\n
payment_dict = {None: 1}\n
for line in context.getMovementList():\n
section_dict[line.getSourceSection()] = 1\n
section_dict[line.getDestinationSection()] = 1\n
payment_dict[line.getSourcePayment()] = 1\n
payment_dict[line.getDestinationPayment()] = 1\n
if source:\n
section_dict[line.getDestinationSection()] = 1\n
payment_dict[line.getDestinationPayment()] = 1\n
else:\n
section_dict[line.getSourceSection()] = 1\n
payment_dict[line.getSourcePayment()] = 1\n
\n
if context.getSourcePayment() or context.getDestinationSection():\n
min_payment_count = 2\n
......
2010-02-18 Kazuhiko
* count number of unique mirror sections only in preparing listbox column list.
2009-12-14 yusei
* Fix group type on Sale Invoice Transaction.
......
1109
\ No newline at end of file
1110
\ 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