Commit ab05808f authored by Aurel's avatar Aurel

catalog checkbook in delivery table, thus allowing search on internal bank account number

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17286 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1386e210
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<value>1</value> <value>1</value>
</item> </item>
<item key="_filter_expression_archive" type="str"> <item key="_filter_expression_archive" type="str">
<value>python: isDelivery</value> <value>python: isDelivery or here.getPortalType()=='Checkbook'</value>
</item> </item>
<item key="_filter_type_archive" type="tuple"> <item key="_filter_type_archive" type="tuple">
</item> </item>
......
...@@ -203,9 +203,7 @@ getSourceTotalAssetPrice</string> </value> ...@@ -203,9 +203,7 @@ getSourceTotalAssetPrice</string> </value>
<dtml-let delivery_list="[]">\n <dtml-let delivery_list="[]">\n
<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n
<dtml-if "isDelivery[loop_item]">\n
<dtml-call expr="delivery_list.append(loop_item)">\n <dtml-call expr="delivery_list.append(loop_item)">\n
</dtml-if>\n
</dtml-in>\n </dtml-in>\n
<dtml-if expr="_.len(delivery_list) > 0">\n <dtml-if expr="_.len(delivery_list) > 0">\n
REPLACE INTO\n REPLACE INTO\n
...@@ -272,9 +270,7 @@ VALUES\n ...@@ -272,9 +270,7 @@ VALUES\n
<dtml-let delivery_list="[]">\n <dtml-let delivery_list="[]">\n
<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n
<dtml-if "isDelivery[loop_item]">\n
<dtml-call expr="delivery_list.append(loop_item)">\n <dtml-call expr="delivery_list.append(loop_item)">\n
</dtml-if>\n
</dtml-in>\n </dtml-in>\n
<dtml-if expr="_.len(delivery_list) > 0">\n <dtml-if expr="_.len(delivery_list) > 0">\n
REPLACE INTO\n REPLACE INTO\n
......
...@@ -78,7 +78,6 @@ ...@@ -78,7 +78,6 @@
<value> <value>
<list> <list>
<string>listbox</string> <string>listbox</string>
<string>listbox_destination_payment_internal_bank_account_number</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -488,7 +488,7 @@ ...@@ -488,7 +488,7 @@
</item> </item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>checkbook_selection</string> </value> <value> <string>checkbook_module_selection</string> </value>
</item> </item>
<item> <item>
<key> <string>sort</string> </key> <key> <string>sort</string> </key>
......
371 372
\ 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