diff --git a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDelivery_generateCheckDetailInputDialog.xml b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDelivery_generateCheckDetailInputDialog.xml index ae53cace3d69e709273a390530f4bc56cd932b8f..95a75a8caf6528084d3b9ca183877b40b9524ac1 100644 --- a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDelivery_generateCheckDetailInputDialog.xml +++ b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDelivery_generateCheckDetailInputDialog.xml @@ -178,7 +178,9 @@ else:\n check_quantity = 1\n if same_type(reference_range_min, 0) and \\\n same_type(reference_range_max, 0) and \\\n - reference_range_max - reference_range_min + 1 != check_quantity * quantity:\n + (reference_range_max - reference_range_min + 1 != check_quantity * quantity\n + or\n + reference_range_max < reference_range_min):\n message = \'The range is not valid\'\n generate_error(line,\'reference_range_min\',message)\n generate_error(line,\'reference_range_max\',message)\n diff --git a/bt5/erp5_banking_check/bt/revision b/bt5/erp5_banking_check/bt/revision index c9c41087e2102d5af5f3ea8aa420e47ad3085707..2702ba3d439a353c3f748180065944feb28b8b87 100644 --- a/bt5/erp5_banking_check/bt/revision +++ b/bt5/erp5_banking_check/bt/revision @@ -1 +1 @@ -114 \ No newline at end of file +115 \ No newline at end of file