Commit 2c2b23c4 authored by Vincent Pelletier's avatar Vincent Pelletier

Disable some logs.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45566 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 467f7631
...@@ -61,11 +61,11 @@ if stop_date is None:\n ...@@ -61,11 +61,11 @@ if stop_date is None:\n
stop_date = DateTime().Date()\n stop_date = DateTime().Date()\n
\n \n
resource_title = resource.getTitle()\n resource_title = resource.getTitle()\n
context.log("date %s %s" %(start_date, stop_date), "title = %s" %resource_title)\n #context.log("date %s %s" %(start_date, stop_date), "title = %s" %resource_title)\n
\n \n
if \'compte\' in resource_title:\n if \'compte\' in resource_title:\n
interval = getIntervalBetweenDates(start_date,stop_date)\n interval = getIntervalBetweenDates(start_date,stop_date)\n
context.log("interval", interval)\n #context.log("interval", interval)\n
if interval[\'year\'] == 3:\n if interval[\'year\'] == 3:\n
if interval[\'month\'] > 0 or interval["day"] > 0:\n if interval[\'month\'] > 0 or interval["day"] > 0:\n
msg = Message(domain=\'ui\', message="Check $check is more than 3 years old.",\n msg = Message(domain=\'ui\', message="Check $check is more than 3 years old.",\n
...@@ -78,7 +78,7 @@ if \'compte\' in resource_title:\n ...@@ -78,7 +78,7 @@ if \'compte\' in resource_title:\n
\n \n
elif \'virement\' in resource_title:\n elif \'virement\' in resource_title:\n
interval = getIntervalBetweenDates(start_date, stop_date)\n interval = getIntervalBetweenDates(start_date, stop_date)\n
context.log("interval", interval)\n #context.log("interval", interval)\n
if interval[\'month\'] == 3:\n if interval[\'month\'] == 3:\n
if interval["day"] > 0:\n if interval["day"] > 0:\n
msg = Message(domain=\'ui\', message="Check $check is more than 3 month old.",\n msg = Message(domain=\'ui\', message="Check $check is more than 3 month old.",\n
......
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