Commit 5cdff1d9 authored by Vincent Pelletier's avatar Vincent Pelletier

Revert partially previous commit : checking if a check is valid when changing...

Revert partially previous commit : checking if a check is valid when changing its state through the stop_payment_module is pointless.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13362 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ec817a16
...@@ -104,8 +104,6 @@ if len(check_list)>0:\n ...@@ -104,8 +104,6 @@ if len(check_list)>0:\n
\n \n
# Then we will construct a new line for each check\n # Then we will construct a new line for each check\n
for item in check_list:\n for item in check_list:\n
if not check.Check_isValid():\n
raise ValidationError, Message(domain=\'ui\', message=\'Check is in an invalid state\')\n
delivery_line = transaction.newContent(portal_type=\'Checkbook Delivery Line\')\n delivery_line = transaction.newContent(portal_type=\'Checkbook Delivery Line\')\n
item_dict = {}\n item_dict = {}\n
reference_range_min = None\n reference_range_min = None\n
...@@ -253,8 +251,6 @@ if debit_required:\n ...@@ -253,8 +251,6 @@ if debit_required:\n
<string>x</string> <string>x</string>
<string>id_list</string> <string>id_list</string>
<string>item</string> <string>item</string>
<string>check</string>
<string>ValidationError</string>
<string>delivery_line</string> <string>delivery_line</string>
<string>item_dict</string> <string>item_dict</string>
<string>reference_range_min</string> <string>reference_range_min</string>
......
100 102
\ 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