Commit 9ed727cd authored by Vincent Pelletier's avatar Vincent Pelletier

Make it impossible to move a check twice at the same date (only list checks...

Make it impossible to move a check twice at the same date (only list checks which have finished moving at current document's date).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19653 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b98abcce
...@@ -100,7 +100,7 @@ if listbox is None:\n ...@@ -100,7 +100,7 @@ if listbox is None:\n
if disable_node:\n if disable_node:\n
node=None\n node=None\n
current_tracking_list = [x.getObject() for x in getCurrentTrackingList(\n current_tracking_list = [x.getObject() for x in getCurrentTrackingList(\n
at_date=at_date, node=node,\n to_date=at_date, node=node,\n
where_expression="item_catalog.portal_type=\'Check\' or item_catalog.portal_type=\'Checkbook\'")]\n where_expression="item_catalog.portal_type=\'Check\' or item_catalog.portal_type=\'Checkbook\'")]\n
for item in current_tracking_list:\n for item in current_tracking_list:\n
exclude=0\n exclude=0\n
...@@ -169,6 +169,14 @@ return listbox\n ...@@ -169,6 +169,14 @@ return listbox\n
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>listbox=None, item_portal_type_list=None,destination_payment=None,model_filter_dict=None,batch_mode=0,simulation_state=None,disable_node=0,at_date=None,**kw</string> </value> <value> <string>listbox=None, item_portal_type_list=None,destination_payment=None,model_filter_dict=None,batch_mode=0,simulation_state=None,disable_node=0,at_date=None,**kw</string> </value>
</item> </item>
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
<value> <value>
......
386 387
\ 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