Commit 9b21aaf5 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

sign should be mandatory and its default should be payment transaction group's...

sign should be mandatory and its default should be payment transaction group's value in PaymentTransactionGroup_viewSelectPaymentTransactionLineListDialog.
parent 6baf7df4
......@@ -89,9 +89,9 @@ if start_date_range_max:\n
if start_date_range_min:\n
search_kw[\'from_date\'] = start_date_range_min\n
\n
if sign == \'out\':\n
if sign in (\'outgoing\', \'out\'):\n
search_kw[\'omit_asset_increase\'] = True\n
elif sign == \'in\':\n
elif sign in (\'incoming\', \'in\'):\n
search_kw[\'omit_asset_decrease\'] = True\n
\n
movement_history_list = portal.portal_simulation.getMovementHistoryList(**search_kw)\n
......
......@@ -64,6 +64,10 @@
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
......
......@@ -118,7 +118,9 @@
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -155,7 +157,7 @@
<item>
<key> <string>items</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
......@@ -235,18 +237,18 @@
<list>
<tuple>
<string>Incoming payments</string>
<string>in</string>
<string>incoming</string>
</tuple>
<tuple>
<string>Outgoing payments</string>
<string>out</string>
<string>outgoing</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>size</string> </key>
......@@ -271,6 +273,19 @@
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/getPaymentTransactionGroupType</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
......
11
\ No newline at end of file
12
\ 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