Commit 8e6eabe1 authored by Aurel's avatar Aurel

allow movement from "serre" vault only for coins

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23034 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 58bc3fd5
......@@ -267,18 +267,15 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:here.Delivery_getVaultItemList(current_url=here.getSource(), vault_type=(\'site/caveau/serre/transit\',))</string> </value>
<value> <string>python:here.Delivery_getVaultItemList(current_url=here.getSource(), vault_type=(\'site/caveau/serre/transit\',\'site/caveau/serre\',), exclude_vault_type=(\'site/caveau/serre/retire\',))</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -67,6 +67,7 @@
<key> <string>_body</string> </key>
<value> <string>from DateTime import DateTime\n
\n
\n
container_portal_type_list = ["Monetary Reception",]\n
base_price_dict = {}\n
\n
......@@ -80,7 +81,15 @@ if listbox is None:\n
, \'portal_status_message=Please+select+a+source.\'\n
)\n
return request.RESPONSE.redirect( redirect_url )\n
\n
\n
if \'serre/encaisse_des_billets_neufs_non_emis\' in node:\n
request = context.REQUEST\n
redirect_url = \'%s/%s?%s\' % ( context.absolute_url()\n
, \'view\'\n
, \'portal_status_message=Transit+must+be+in+source.\'\n
)\n
return request.RESPONSE.redirect( redirect_url )\n
\n
reference_date = DateTime()\n
container_list = []\n
listbox = []\n
......
626
\ No newline at end of file
627
\ 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